Completed
Push — master ( c4e3cd...c5cae6 )
by Anton
05:38
created
source/Spiral/Database/Builders/SelectQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
source/Spiral/Database/Entities/Schemas/AbstractCommander.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/ORM/Entities/Relations/ManyToMany.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
      * Method will not affect state of pre-loaded data! Use reset() method to do that.
100 100
      *
101 101
      * @see sync()
102
-     * @param mixed $outer
102
+     * @param \Spiral\ORM\RecordInterface $outer
103 103
      * @param array $pivotData
104 104
      */
105 105
     public function link($outer, array $pivotData = [])
Please login to merge, or discard this patch.
source/Spiral/ORM/Entities/Schemas/RecordSchema.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     /**
99 99
      * Related source class.
100 100
      *
101
-     * @return string|null
101
+     * @return string
102 102
      */
103 103
     public function getSource()
104 104
     {
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
      * value using class name and Doctrine inflector.
154 154
      *
155 155
      * @see Record::$table
156
-     * @return mixed
156
+     * @return string
157 157
      */
158 158
     public function getTable()
159 159
     {
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      * Get database where record data should be stored in. Database alias must be resolved.
173 173
      *
174 174
      * @see Record::$database
175
-     * @return mixed
175
+     * @return string
176 176
      */
177 177
     public function getDatabase()
178 178
     {
@@ -487,7 +487,7 @@  discard block
 block discarded – undo
487 487
      * @param AbstractColumn $column
488 488
      * @param string         $definition
489 489
      * @param mixed          $default Default value declared by record schema.
490
-     * @return mixed
490
+     * @return AbstractColumn
491 491
      * @throws DefinitionException
492 492
      * @throws \Spiral\Database\Exceptions\SchemaException
493 493
      */
Please login to merge, or discard this patch.
source/Spiral/Database/Drivers/Postgres/Schemas/ColumnSchema.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -399,7 +399,7 @@
 block discarded – undo
399 399
             . "WHERE conrelid = ? AND contype = 'c' AND (consrc LIKE ? OR consrc LIKE ?)";
400 400
 
401 401
         $constraints = $this->table->driver()->query(
402
-            $query, [$tableOID, '(' . $this->name . '%', '("' . $this->name . '%',]
402
+            $query, [$tableOID, '(' . $this->name . '%', '("' . $this->name . '%', ]
403 403
         );
404 404
 
405 405
         foreach ($constraints as $constraint) {
Please login to merge, or discard this patch.
source/Spiral/Database/Entities/Quoter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
      */
92 92
     protected function expression($identifier)
93 93
     {
94
-        return preg_replace_callback('/([a-z][0-9_a-z\.]*\(?)/i', function ($match) {
94
+        return preg_replace_callback('/([a-z][0-9_a-z\.]*\(?)/i', function($match) {
95 95
             $identifier = $match[1];
96 96
 
97 97
             //Function name
Please login to merge, or discard this patch.
source/Spiral/Tokenizer/Configs/TokenizerConfig.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral Framework.
4
- *
5
- * @license MIT
6
- * @author  Anton Titov (Wolfy-J)
7
- */
3
+     * Spiral Framework.
4
+     *
5
+     * @license MIT
6
+     * @author  Anton Titov (Wolfy-J)
7
+     */
8 8
 namespace Spiral\Tokenizer\Configs;
9 9
 
10 10
 use Spiral\Core\InjectableConfig;
Please login to merge, or discard this patch.
source/Spiral/Core/Component.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
source/Spiral/Tokenizer/Tokenizer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
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 = [],
Please login to merge, or discard this patch.