@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | /** |
25 | 25 | * @var Collection | array |
26 | 26 | */ |
27 | - public $posts = []; |
|
27 | + public $posts = [ ]; |
|
28 | 28 | |
29 | 29 | /** |
30 | 30 | * Parameter to use for the page number |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | $this->pageParam = $this->paramName('page'); |
244 | 244 | $this->currentPage = (int)$this->property('page', 1) ?: (int)post('page'); |
245 | 245 | $this->resultsPerPage = (int)$this->property('resultsPerPage') |
246 | - ?: $this->defineProperties()['resultsPerPage']['default']; |
|
246 | + ?: $this->defineProperties()[ 'resultsPerPage' ][ 'default' ]; |
|
247 | 247 | } |
248 | 248 | |
249 | 249 | /** |