Skip to content

Commit

Permalink
Change parameter name (#21141)
Browse files Browse the repository at this point in the history
  • Loading branch information
deleugpn authored and taylorotwell committed Sep 12, 2017
1 parent fd57fbe commit 997e67c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Illuminate/Database/Query/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2406,13 +2406,13 @@ public function useWritePdo()
/**
* Clone the query without the given properties.
*
* @param array $except
* @param array $properties
* @return static
*/
public function cloneWithout(array $except)
public function cloneWithout(array $properties)
{
return tap(clone $this, function ($clone) use ($except) {
foreach ($except as $property) {
return tap(clone $this, function ($clone) use ($properties) {
foreach ($properties as $property) {
$clone->{$property} = null;
}
});
Expand Down

0 comments on commit 997e67c

Please sign in to comment.