@@ -11,7 +11,7 @@ |
||
11 | 11 | * |
12 | 12 | * @param object $dirty |
13 | 13 | * |
14 | - * @return this |
|
14 | + * @return Cleaner |
|
15 | 15 | */ |
16 | 16 | public function clean($dirty) |
17 | 17 | { |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | */ |
45 | 45 | protected function setAllowed($dirty) |
46 | 46 | { |
47 | - collect($this->allowed)->each(function ($property) use ($dirty) { |
|
47 | + collect($this->allowed)->each(function($property) use ($dirty) { |
|
48 | 48 | if ($this->isNested($property)) { |
49 | 49 | return $this->setNestedProperty($property, $dirty, 'property'); |
50 | 50 | } |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | */ |
61 | 61 | protected function setMethods($dirty) |
62 | 62 | { |
63 | - collect($this->methods)->each(function ($method) use ($dirty) { |
|
63 | + collect($this->methods)->each(function($method) use ($dirty) { |
|
64 | 64 | if ($this->isNested($method)) { |
65 | 65 | return $this->setNestedProperty($method, $dirty, 'method'); |
66 | 66 | } |
@@ -12,8 +12,8 @@ discard block |
||
12 | 12 | */ |
13 | 13 | public function register() |
14 | 14 | { |
15 | - Collection::macro('clean', function ($class = null) { |
|
16 | - return $this->map(function ($item) use ($class) { |
|
15 | + Collection::macro('clean', function($class = null) { |
|
16 | + return $this->map(function($item) use ($class) { |
|
17 | 17 | return $item->clean($class); |
18 | 18 | }); |
19 | 19 | }); |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | */ |
27 | 27 | protected function registerCommands() |
28 | 28 | { |
29 | - $this->app->singleton('command.laundromat.create', function ($app) { |
|
29 | + $this->app->singleton('command.laundromat.create', function($app) { |
|
30 | 30 | return $app['LaravelLaundromat\commands\CreateCleaner']; |
31 | 31 | }); |
32 | 32 |