Passed
Push — master ( 63f0e8...02118d )
by Petr
02:59
created
php-src/Mappers/Database/ADatabase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
         foreach ($relations as $localAlias => $remoteColumn) {
159 159
             $this->queryBuilder->addColumn($record->getMapper()->getAlias(), $remoteColumn, $localAlias);
160 160
         }
161
-        $this->queryBuilder->setLimits(0,1);
161
+        $this->queryBuilder->setLimits(0, 1);
162 162
 
163 163
         // query itself
164 164
         $lines = $this->database->query(strval($this->dialect->select($this->queryBuilder)), $this->queryBuilder->getParams());
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
         }
215 215
 
216 216
         // query itself
217
-        $this->queryBuilder->setLimits(0,1);
217
+        $this->queryBuilder->setLimits(0, 1);
218 218
         $lines = $this->database->query(strval($this->dialect->select($this->queryBuilder)), $this->queryBuilder->getParams());
219 219
         if (empty($lines)) {
220 220
             return false;
Please login to merge, or discard this patch.
php-src/Mappers/Database/AReadWriteDatabase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
         foreach ($relations as $localAlias => $remoteColumn) {
199 199
             $this->readQueryBuilder->addColumn($record->getMapper()->getAlias(), $remoteColumn, $localAlias);
200 200
         }
201
-        $this->readQueryBuilder->setLimits(0,1);
201
+        $this->readQueryBuilder->setLimits(0, 1);
202 202
 
203 203
         // query itself
204 204
         $lines = $this->readDatabase->query(strval($this->readDialect->select($this->readQueryBuilder)), $this->readQueryBuilder->getParams());
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
         }
255 255
 
256 256
         // query itself
257
-        $this->readQueryBuilder->setLimits(0,1);
257
+        $this->readQueryBuilder->setLimits(0, 1);
258 258
         $lines = $this->readDatabase->query(strval($this->readDialect->select($this->readQueryBuilder)), $this->readQueryBuilder->getParams());
259 259
         if (empty($lines)) {
260 260
             return false;
Please login to merge, or discard this patch.