From a118b6a0d18403649e34edbe803272171413d4ca Mon Sep 17 00:00:00 2001 From: Sebastian De Deyne Date: Fri, 18 Mar 2016 13:27:54 +0100 Subject: [PATCH] CS fixes --- src/CleanUpModelsCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CleanUpModelsCommand.php b/src/CleanUpModelsCommand.php index bb1cdd1..8e9ff66 100644 --- a/src/CleanUpModelsCommand.php +++ b/src/CleanUpModelsCommand.php @@ -49,7 +49,7 @@ protected function getModelsThatShouldBeCleanedUp() : Collection { $directories = config('laravel-model-cleanup.directories'); - $modelsFromDirectories = $this->getAllModelsInEachDirectory($directories); + $modelsFromDirectories = $this->getAllModelsFromEachDirectory($directories); return $modelsFromDirectories ->merge(collect(config('laravel-model-cleanup.models'))) @@ -69,7 +69,7 @@ protected function cleanUp(Collection $cleanableModels) }); } - protected function getAllModelsInEachDirectory(array $directories) : Collection + protected function getAllModelsFromEachDirectory(array $directories) : Collection { return collect($directories) ->map(function ($directory) {