Passed
Push — master ( 0441ee...a282a3 )
by Zahir
08:01
created
src/Traits/Visitability.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      */
34 34
     public function visitors($class)
35 35
     {
36
-        return $this->visits()->where('visitable_type', $class)->with('visitable')->get()->mapWithKeys(function ($item) {
36
+        return $this->visits()->where('visitable_type', $class)->with('visitable')->get()->mapWithKeys(function($item) {
37 37
             if (isset($item['visitable'])) {
38 38
                 return [$item['visitable']->id => $item['visitable']];
39 39
             }
Please login to merge, or discard this patch.