Passed
Pull Request — master (#90)
by
unknown
64:33
created
src/App/Http/Traits/ActivityLogger.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
         if (Crawler::isCrawler()) {
32 32
             $userType = trans('LaravelLogger::laravel-logger.userTypes.crawler');
33
-            if(is_null($description)){
33
+            if (is_null($description)) {
34 34
                 $description = $userType.' '.trans('LaravelLogger::laravel-logger.verbTypes.crawled').' '.Request::fullUrl();
35 35
             }
36 36
         }
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     private static function prepareErrorMessage($validatorErrors, $data)
117 117
     {
118 118
         $errors = json_decode(json_encode($validatorErrors, true));
119
-        array_walk($errors, function (&$value, $key) use ($data) {
119
+        array_walk($errors, function(&$value, $key) use ($data) {
120 120
             array_push($value, "Value: $data[$key]");
121 121
         });
122 122
 
Please login to merge, or discard this patch.