Completed
Branch feature/pre-split (a35c5b)
by Anton
03:21
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/AbstractHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@
 block discarded – undo
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 = [])
Please login to merge, or discard this patch.
source/Spiral/ODM/Entities/DocumentSource.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      *
92 92
      * @param string|\MongoId $id Primary key value.
93 93
      *
94
-     * @return CompositableInterface|DocumentEntity|null
94
+     * @return CompositableInterface|null
95 95
      */
96 96
     public function findByPK($id)
97 97
     {
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      * @param array $query  Fields and conditions to query by.
105 105
      * @param array $sortBy Always specify sort by to ensure that results are stable.
106 106
      *
107
-     * @return CompositableInterface|DocumentEntity|null
107
+     * @return CompositableInterface|null
108 108
      */
109 109
     public function findOne(array $query = [], array $sortBy = [])
110 110
     {
Please login to merge, or discard this patch.
source/Spiral/ODM/ODM.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
      * @param string $class
135 135
      * @param int    $property See ODM constants.
136 136
      *
137
-     * @return mixed
137
+     * @return string|null
138 138
      *
139 139
      * @throws ODMException
140 140
      */
Please login to merge, or discard this patch.