@@ -58,7 +58,7 @@ |
||
58 | 58 | * Set table names SELECT query should be performed for. Table names can be provided with |
59 | 59 | * specified alias (AS construction). |
60 | 60 | * |
61 | - * @param array|string|mixed $tables Array of names, comma separated string or set of |
|
61 | + * @param string $tables Array of names, comma separated string or set of |
|
62 | 62 | * parameters. |
63 | 63 | * @return $this |
64 | 64 | */ |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | * such methods. |
233 | 233 | * |
234 | 234 | * @see AbstractWhere |
235 | - * @param string|mixed $joined Joined column or expression. |
|
235 | + * @param string $joined Joined column or expression. |
|
236 | 236 | * @param mixed $variousA Operator or value. |
237 | 237 | * @param mixed $variousB Value, if operator specified. |
238 | 238 | * @param mixed $variousC Required only in between statements. |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | * @param string $joiner Boolean joiner (AND | OR). |
301 | 301 | * @param array $parameters Set of parameters collected from where functions. |
302 | 302 | * @param array $tokens Array to aggregate compiled tokens. Reference. |
303 | - * @param \Closure|null $wrapper Callback or closure used to wrap/collect every potential |
|
303 | + * @param callable $wrapper Callback or closure used to wrap/collect every potential |
|
304 | 304 | * parameter. |
305 | 305 | * @throws BuilderException |
306 | 306 | */ |
@@ -228,7 +228,7 @@ |
||
228 | 228 | * Execute statement. |
229 | 229 | * |
230 | 230 | * @param string $statement |
231 | - * @param array $parameters |
|
231 | + * @param string[] $parameters |
|
232 | 232 | * @return \PDOStatement |
233 | 233 | */ |
234 | 234 | protected function run($statement, array $parameters = []) |
@@ -126,7 +126,7 @@ |
||
126 | 126 | * |
127 | 127 | * @param array $columns Array of columns. |
128 | 128 | * @param array $rowsets Array of rowsets. |
129 | - * @return mixed |
|
129 | + * @return integer |
|
130 | 130 | */ |
131 | 131 | public function batchInsert(array $columns = [], array $rowsets = []) |
132 | 132 | { |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | * @param array|\Closure $where Selection WHERE statement. |
43 | 43 | * @param array $load Array or relations to be pre-loaded. |
44 | 44 | * @param array $orderBy Sort by conditions. |
45 | - * @return RecordEntity|null |
|
45 | + * @return null|\Spiral\ORM\RecordInterface |
|
46 | 46 | */ |
47 | 47 | public static function findOne($where = [], array $load = [], array $orderBy = []) |
48 | 48 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * |
63 | 63 | * @param mixed $primaryKey Primary key. |
64 | 64 | * @param array $load Array or relations to be pre-loaded. |
65 | - * @return RecordEntity|null |
|
65 | + * @return null|\Spiral\ORM\RecordInterface |
|
66 | 66 | */ |
67 | 67 | public static function findByPK($primaryKey, array $load = []) |
68 | 68 | { |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | /** |
34 | 34 | * New instance of ReflectionArgument. |
35 | 35 | * |
36 | - * @param mixed $type |
|
36 | + * @param string $type |
|
37 | 37 | * @param mixed $value |
38 | 38 | */ |
39 | 39 | public function __construct($type, $value) |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |
46 | - * @return mixed |
|
46 | + * @return integer |
|
47 | 47 | */ |
48 | 48 | public function getType() |
49 | 49 | { |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * Get instance of container associated with given object, uses global container as fallback |
29 | 29 | * if not. Method generally used by traits. |
30 | 30 | * |
31 | - * @return ContainerInterface|null |
|
31 | + * @return ContainerInterface |
|
32 | 32 | */ |
33 | 33 | protected function container() |
34 | 34 | { |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | * |
51 | 51 | * @internal Do not use for business logic. |
52 | 52 | * @param ContainerInterface $container Can be set to null. |
53 | - * @return ContainerInterface|null |
|
53 | + * @return ContainerInterface |
|
54 | 54 | */ |
55 | 55 | final protected static function staticContainer(ContainerInterface $container = null) |
56 | 56 | { |
@@ -162,7 +162,7 @@ |
||
162 | 162 | * @param array $directories |
163 | 163 | * @param array $exclude |
164 | 164 | * @param Finder $finder |
165 | - * @return ClassLocator |
|
165 | + * @return InvocationLocator |
|
166 | 166 | */ |
167 | 167 | public function invocationLocator( |
168 | 168 | array $directories = [], |
@@ -106,7 +106,7 @@ |
||
106 | 106 | * @see AbstractWhere |
107 | 107 | * @param string|mixed $identifier Column or expression. |
108 | 108 | * @param mixed $variousA Operator or value. |
109 | - * @param mixed $variousB Value, if operator specified. |
|
109 | + * @param Parameter $variousB Value, if operator specified. |
|
110 | 110 | * @param mixed $variousC Required only in between statements. |
111 | 111 | * @return $this |
112 | 112 | * @throws BuilderException |