Passed
Push — master ( 679db0...903d9d )
by Alexander
02:16
created
src/traits/Model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     public static function find(array $conditions = [], array $options = []): Generator
89 89
     {
90 90
         $conditions = self::filterByFields($conditions);
91
-        $with = array_key_exists('with', $options) ? (array)$options['with'] : false;
91
+        $with = array_key_exists('with', $options) ? (array) $options['with'] : false;
92 92
         unset($options['with']);
93 93
         $result = static::db()->find(static::table(), $conditions, $options);
94 94
         $pk = static::pk();
Please login to merge, or discard this patch.
src/util/Cli.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@
 block discarded – undo
229 229
      */
230 230
     protected function progressBar(int $counter, int $total): void
231 231
     {
232
-        $length = (int) (($counter/$total) * 100);
232
+        $length = (int) (($counter / $total) * 100);
233 233
         $active = ($counter === $total) ? '' : '>';
234 234
         $loadbar = sprintf(
235 235
             "\r[%-100s] %d%% (%s/%s)",
Please login to merge, or discard this patch.