| @@ -88,7 +88,7 @@ | ||
| 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(); | 
| @@ -229,7 +229,7 @@ | ||
| 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)", |