@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | } |
30 | 30 | |
31 | 31 | return $this->filter( |
32 | - function (DashboardInterface $dashboard) use ($user) { |
|
32 | + function(DashboardInterface $dashboard) use ($user) { |
|
33 | 33 | |
34 | 34 | $roles = $dashboard->getAllowedRoles(); |
35 | 35 | |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | return $this->first( |
55 | - function ($index, DashboardInterface $model) use ($key) { |
|
55 | + function($index, DashboardInterface $model) use ($key) { |
|
56 | 56 | return $model->getId() == $key || $model->getSlug() == $key; |
57 | 57 | }, |
58 | 58 | $default |