Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Aug 12, 2017
1 parent e901be1 commit 370e626
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/Illuminate/Contracts/Routing/UrlRoutable.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ public function getRouteKey();
public function getRouteKeyName();

/**
* Retrieve model for route model binding.
* Retrieve the model for a bound value.
*
* @param mixed $routeKey
* @return null|\Illuminate\Database\Eloquent\Model
* @param mixed $value
* @return \Illuminate\Database\Eloquent\Model|null
*/
public function resolveRouteBinding($routeKey);
public function resolveRouteBinding($value);
}
6 changes: 3 additions & 3 deletions src/Illuminate/Database/Eloquent/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -1252,10 +1252,10 @@ public function getRouteKeyName()
}

/**
* Retrieve model for route model binding.
* Retrieve the model for a bound value.
*
* @param mixed $routeKey
* @return null|\Illuminate\Database\Eloquent\Model
* @param mixed $value
* @return \Illuminate\Database\Eloquent\Model|null
*/
public function resolveRouteBinding($routeKey)
{
Expand Down

0 comments on commit 370e626

Please sign in to comment.