Completed
Branch feature/pre-split (76ded7)
by Anton
03:22
created
source/Spiral/Database/Builders/Traits/JoinsTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -346,7 +346,7 @@
 block discarded – undo
346 346
      * @param string                 $joiner     Boolean joiner (AND | OR).
347 347
      * @param array                  $parameters Set of parameters collected from where functions.
348 348
      * @param array                  $tokens     Array to aggregate compiled tokens. Reference.
349
-     * @param \Closure|null|callable $wrapper    Callback or closure used to wrap/collect every
349
+     * @param callable $wrapper    Callback or closure used to wrap/collect every
350 350
      *                                           potential parameter.
351 351
      *
352 352
      * @throws BuilderException
Please login to merge, or discard this patch.
source/Spiral/Database/Entities/QueryCompiler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -290,7 +290,7 @@
 block discarded – undo
290 290
     /**
291 291
      * Compile DISTINCT statement.
292 292
      *
293
-     * @param mixed $distinct Not every DBMS support distinct expression, only Postgres does.
293
+     * @param boolean|string $distinct Not every DBMS support distinct expression, only Postgres does.
294 294
      *
295 295
      * @return string
296 296
      */
Please login to merge, or discard this patch.
source/Spiral/Database/Helpers/QueryInterpolator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      *
59 59
      * Every value has to wrapped with parameter interface.
60 60
      *
61
-     * @param array $parameters
61
+     * @param ParameterInterface[] $parameters
62 62
      *
63 63
      * @return ParameterInterface[]
64 64
      *
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     /**
97 97
      * Get parameter value.
98 98
      *
99
-     * @param mixed $parameter
99
+     * @param ParameterInterface $parameter
100 100
      *
101 101
      * @return string
102 102
      */
Please login to merge, or discard this patch.
source/Spiral/Database/Entities/Prototypes/PDODriver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.