| @@ -26,7 +26,7 @@ discard block | ||
| 26 | 26 | $this->collection = $collection; | 
| 27 | 27 | $this->queryType = Query::TYPE_FIND; | 
| 28 | 28 | $this->expression = new Expression(); | 
| 29 | - $this->options = []; | |
| 29 | + $this->options = [ ]; | |
| 30 | 30 | } | 
| 31 | 31 | |
| 32 | 32 | /** | 
| @@ -107,7 +107,7 @@ discard block | ||
| 107 | 107 | */ | 
| 108 | 108 | public function sort(array $fields) | 
| 109 | 109 |      { | 
| 110 | - $this->options['sort'] = $fields; | |
| 110 | + $this->options[ 'sort' ] = $fields; | |
| 111 | 111 | } | 
| 112 | 112 | |
| 113 | 113 | /** | 
| @@ -115,7 +115,7 @@ discard block | ||
| 115 | 115 | */ | 
| 116 | 116 | public function setMaxResults(int $limit) | 
| 117 | 117 |      { | 
| 118 | - $this->options['limit'] = $limit; | |
| 118 | + $this->options[ 'limit' ] = $limit; | |
| 119 | 119 | } | 
| 120 | 120 | |
| 121 | 121 | /** | 
| @@ -123,7 +123,7 @@ discard block | ||
| 123 | 123 | */ | 
| 124 | 124 | public function select(...$projection) | 
| 125 | 125 |      { | 
| 126 | - $this->options['projection'] = array_fill_keys($projection, 1); | |
| 126 | + $this->options[ 'projection' ] = array_fill_keys($projection, 1); | |
| 127 | 127 | } | 
| 128 | 128 | |
| 129 | 129 | /** |