@@ -44,7 +44,7 @@ |
||
| 44 | 44 | * Create the tag for the specified language |
| 45 | 45 | * @param string $lang |
| 46 | 46 | * @param array $name |
| 47 | - * @return mixed |
|
| 47 | + * @return \Illuminate\Database\Eloquent\Model |
|
| 48 | 48 | */ |
| 49 | 49 | public function createForLanguage($lang = 'en', $name) |
| 50 | 50 | { |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | public function rules() |
| 10 | 10 | { |
| 11 | 11 | return [ |
| 12 | - // 'slug[en]' => 'required' |
|
| 12 | + // 'slug[en]' => 'required' |
|
| 13 | 13 | ]; |
| 14 | 14 | } |
| 15 | 15 | |
@@ -44,10 +44,10 @@ |
||
| 44 | 44 | return ['postCount' => $this->post->all()->count()]; |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | - /** |
|
| 48 | - * Get the widget type |
|
| 49 | - * @return string |
|
| 50 | - */ |
|
| 47 | + /** |
|
| 48 | + * Get the widget type |
|
| 49 | + * @return string |
|
| 50 | + */ |
|
| 51 | 51 | protected function options() |
| 52 | 52 | { |
| 53 | 53 | return [ |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * Display a listing of the resource. |
| 25 | 25 | * |
| 26 | - * @return Response |
|
| 26 | + * @return \Illuminate\Database\Eloquent\Collection |
|
| 27 | 27 | */ |
| 28 | 28 | public function index() |
| 29 | 29 | { |