@@ -33,9 +33,9 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | public function __construct( |
| 35 | 35 | Collection $collection, |
| 36 | - int $type=self::TYPE_FIND, |
|
| 37 | - array $querySettings=[], |
|
| 38 | - array $options=[] |
|
| 36 | + int $type = self::TYPE_FIND, |
|
| 37 | + array $querySettings = [ ], |
|
| 38 | + array $options = [ ] |
|
| 39 | 39 | ) { |
| 40 | 40 | $this->collection = $collection; |
| 41 | 41 | $this->querySettings = $querySettings; |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | */ |
| 51 | 51 | public function execute() |
| 52 | 52 | { |
| 53 | - switch($this->type) { |
|
| 53 | + switch ($this->type) { |
|
| 54 | 54 | case self::TYPE_FIND: |
| 55 | 55 | return $this->collection->find($this->querySettings, $this->options); |
| 56 | 56 | break; |