@@ -120,9 +120,10 @@ |
||
120 | 120 | } |
121 | 121 | |
122 | 122 | /** |
123 | - * @param $name |
|
124 | - * @param $user |
|
125 | - * @param $password |
|
123 | + * @param string $name |
|
124 | + * @param string $user |
|
125 | + * @param string $password |
|
126 | + * @param string $host |
|
126 | 127 | */ |
127 | 128 | protected function setLaravelConfiguration($name, $user, $password, $host) |
128 | 129 | { |
@@ -39,8 +39,8 @@ |
||
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
42 | - * @param $driver |
|
43 | - * @param $command |
|
42 | + * @param string $driver |
|
43 | + * @param Command $command |
|
44 | 44 | * @return mixed |
45 | 45 | */ |
46 | 46 | protected function configure($driver, $command) |
@@ -2,6 +2,10 @@ |
||
2 | 2 | |
3 | 3 | trait BlockMessage |
4 | 4 | { |
5 | + /** |
|
6 | + * @param string $title |
|
7 | + * @param string $message |
|
8 | + */ |
|
5 | 9 | public function blockMessage($title, $message, $style = 'info') |
6 | 10 | { |
7 | 11 | $formatter = $this->getHelperSet()->get('formatter'); |
@@ -80,7 +80,7 @@ |
||
80 | 80 | } |
81 | 81 | |
82 | 82 | /** |
83 | - * @param $name |
|
83 | + * @param string $name |
|
84 | 84 | * @return mixed |
85 | 85 | */ |
86 | 86 | public function getRawField($name) |
@@ -160,7 +160,7 @@ |
||
160 | 160 | /** |
161 | 161 | * Return the position in the array of the given key |
162 | 162 | * |
163 | - * @param $dependency |
|
163 | + * @param string $dependency |
|
164 | 164 | * @param array $dependencyArray |
165 | 165 | * @return int |
166 | 166 | */ |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | |
15 | 15 | /** |
16 | 16 | * Return a collection of all elements of the resource |
17 | - * @return mixed |
|
17 | + * @return \Illuminate\Database\Eloquent\Collection |
|
18 | 18 | */ |
19 | 19 | public function all(); |
20 | 20 | |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | |
43 | 43 | /** |
44 | 44 | * Return resources translated in the given language |
45 | - * @param $lang |
|
45 | + * @param string $lang |
|
46 | 46 | * @return object |
47 | 47 | */ |
48 | 48 | public function allTranslatedIn($lang); |
@@ -50,7 +50,7 @@ |
||
50 | 50 | |
51 | 51 | /** |
52 | 52 | * @param mixed $data |
53 | - * @return object |
|
53 | + * @return \Illuminate\Database\Eloquent\Model |
|
54 | 54 | */ |
55 | 55 | public function create($data) |
56 | 56 | { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | } |
28 | 28 | |
29 | 29 | /** |
30 | - * @param $module |
|
30 | + * @param string $module |
|
31 | 31 | * @return string |
32 | 32 | */ |
33 | 33 | private function getModulePath($module) |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | |
30 | 30 | /** |
31 | 31 | * @param Request $request |
32 | - * @param callable $next |
|
32 | + * @param \Closure $next |
|
33 | 33 | * @return mixed |
34 | 34 | */ |
35 | 35 | public function handle(Request $request, \Closure $next) |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * Get the correct segment position based on the locale or not |
54 | 54 | * |
55 | 55 | * @param $request |
56 | - * @return mixed |
|
56 | + * @return integer |
|
57 | 57 | */ |
58 | 58 | private function getSegmentPosition(Request $request) |
59 | 59 | { |
@@ -67,9 +67,9 @@ discard block |
||
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |
70 | - * @param $moduleName |
|
71 | - * @param $entityName |
|
72 | - * @param $actionMethod |
|
70 | + * @param string|null $moduleName |
|
71 | + * @param string $entityName |
|
72 | + * @param string $actionMethod |
|
73 | 73 | * @return string |
74 | 74 | */ |
75 | 75 | private function getPermission($moduleName, $entityName, $actionMethod) |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | |
80 | 80 | /** |
81 | 81 | * @param Request $request |
82 | - * @param $segmentPosition |
|
82 | + * @param integer $segmentPosition |
|
83 | 83 | * @return string |
84 | 84 | */ |
85 | 85 | protected function getModuleName(Request $request, $segmentPosition) |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | |
90 | 90 | /** |
91 | 91 | * @param Request $request |
92 | - * @param $segmentPosition |
|
92 | + * @param integer $segmentPosition |
|
93 | 93 | * @return string |
94 | 94 | */ |
95 | 95 | protected function getEntityName(Request $request, $segmentPosition) |