@@ -30,7 +30,7 @@ |
||
| 30 | 30 | ->remember( |
| 31 | 31 | "{$this->locale}.{$this->entityName}.findByName.{$name}", |
| 32 | 32 | $this->cacheTime, |
| 33 | - function () use ($name) { |
|
| 33 | + function() use ($name) { |
|
| 34 | 34 | return $this->repository->findByName($name); |
| 35 | 35 | } |
| 36 | 36 | ); |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | ->remember( |
| 28 | 28 | "{$this->locale}.{$this->entityName}.latest.{$amount}", |
| 29 | 29 | $this->cacheTime, |
| 30 | - function () use ($amount) { |
|
| 30 | + function() use ($amount) { |
|
| 31 | 31 | return $this->repository->latest($amount); |
| 32 | 32 | } |
| 33 | 33 | ); |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | ->remember( |
| 48 | 48 | "{$this->locale}.{$this->entityName}.getPreviousOf.{$postId}", |
| 49 | 49 | $this->cacheTime, |
| 50 | - function () use ($post) { |
|
| 50 | + function() use ($post) { |
|
| 51 | 51 | return $this->repository->getPreviousOf($post); |
| 52 | 52 | } |
| 53 | 53 | ); |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | ->remember( |
| 68 | 68 | "{$this->locale}.{$this->entityName}.getNextOf.{$postId}", |
| 69 | 69 | $this->cacheTime, |
| 70 | - function () use ($post) { |
|
| 70 | + function() use ($post) { |
|
| 71 | 71 | return $this->repository->getNextOf($post); |
| 72 | 72 | } |
| 73 | 73 | ); |
@@ -45,9 +45,9 @@ |
||
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | - * Get the widget type |
|
| 49 | - * @return string |
|
| 50 | - */ |
|
| 48 | + * Get the widget type |
|
| 49 | + * @return string |
|
| 50 | + */ |
|
| 51 | 51 | protected function options() |
| 52 | 52 | { |
| 53 | 53 | return [ |