@@ -416,7 +416,7 @@ discard block |
||
416 | 416 | } |
417 | 417 | |
418 | 418 | /** |
419 | - * @param null $model |
|
419 | + * @param string $model |
|
420 | 420 | */ |
421 | 421 | public function setModel($model) |
422 | 422 | { |
@@ -676,7 +676,7 @@ discard block |
||
676 | 676 | } |
677 | 677 | |
678 | 678 | /** |
679 | - * @param $fk |
|
679 | + * @param string $fk |
|
680 | 680 | */ |
681 | 681 | public function setPrimaryFK($fk) |
682 | 682 | { |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | |
120 | 120 | /** |
121 | 121 | * @param Record $record |
122 | - * @param null $index |
|
122 | + * @param string|null $index |
|
123 | 123 | * @return bool|mixed|null |
124 | 124 | */ |
125 | 125 | public function getRecordKey(Record $record, $index = null) |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | } |
146 | 146 | |
147 | 147 | /** |
148 | - * @param $key |
|
148 | + * @param string $key |
|
149 | 149 | * @return mixed |
150 | 150 | */ |
151 | 151 | public function setIndexKey($key) |
@@ -101,7 +101,7 @@ |
||
101 | 101 | } |
102 | 102 | |
103 | 103 | /** |
104 | - * @param mixed $type |
|
104 | + * @param string $type |
|
105 | 105 | * @return AbstractFilter|AbstractColumnFilter ; |
106 | 106 | */ |
107 | 107 | public function newFilter($type) |
@@ -15,7 +15,7 @@ |
||
15 | 15 | protected $filterManager = null; |
16 | 16 | |
17 | 17 | /** |
18 | - * @param Request|array $request |
|
18 | + * @param Request $request |
|
19 | 19 | * @return mixed |
20 | 20 | */ |
21 | 21 | public function requestFilters($request) |
@@ -17,7 +17,6 @@ |
||
17 | 17 | protected $command; |
18 | 18 | |
19 | 19 | /** |
20 | - * @param Command $methodCall |
|
21 | 20 | * @return Command |
22 | 21 | */ |
23 | 22 | public function __invoke(Command $command): Command |
@@ -62,7 +62,7 @@ |
||
62 | 62 | } |
63 | 63 | |
64 | 64 | /** |
65 | - * @param null $morphTypeField |
|
65 | + * @param string $morphTypeField |
|
66 | 66 | * @return void |
67 | 67 | */ |
68 | 68 | public function setMorphTypeField($morphTypeField) |
@@ -50,8 +50,8 @@ |
||
50 | 50 | } |
51 | 51 | |
52 | 52 | /** |
53 | - * @param $alias |
|
54 | - * @return array |
|
53 | + * @param string $alias |
|
54 | + * @return string[] |
|
55 | 55 | */ |
56 | 56 | public function buildAliasVariations($alias) |
57 | 57 | { |
@@ -218,7 +218,7 @@ |
||
218 | 218 | } |
219 | 219 | |
220 | 220 | /** |
221 | - * @param Record|HasRelationsRecordTrait $item |
|
221 | + * @param Record $item |
|
222 | 222 | * @return $this |
223 | 223 | */ |
224 | 224 | public function setItem(Record $item) |
@@ -83,8 +83,8 @@ discard block |
||
83 | 83 | |
84 | 84 | /** |
85 | 85 | * @param Collection $collection |
86 | - * @param $manager |
|
87 | - * @return Query |
|
86 | + * @param RecordManager $manager |
|
87 | + * @return \Nip\Database\Query\AbstractQuery |
|
88 | 88 | * @throws Exception |
89 | 89 | */ |
90 | 90 | public function getEagerQueryType(Collection $collection, $manager) |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | |
119 | 119 | /** @noinspection PhpMissingParentCallCommonInspection |
120 | 120 | * @param Record $record |
121 | - * @return array |
|
121 | + * @return string |
|
122 | 122 | * @throws \Exception |
123 | 123 | */ |
124 | 124 | protected function getDictionaryKey(Record $record) |