@@ -14,7 +14,7 @@ |
||
14 | 14 | |
15 | 15 | /** |
16 | 16 | * @param array $query |
17 | - * @param $type |
|
17 | + * @param integer $type |
|
18 | 18 | */ |
19 | 19 | public function __construct(array $query, $type) |
20 | 20 | { |
@@ -30,15 +30,15 @@ discard block |
||
30 | 30 | return $this->query; |
31 | 31 | } |
32 | 32 | |
33 | - /** |
|
34 | - * @param array $query |
|
35 | - * @return RecordQuery |
|
36 | - */ |
|
37 | - public function setRawQuery($query) |
|
38 | - { |
|
39 | - $this->query = $query; |
|
40 | - return $this; |
|
41 | - } |
|
33 | + /** |
|
34 | + * @param array $query |
|
35 | + * @return RecordQuery |
|
36 | + */ |
|
37 | + public function setRawQuery($query) |
|
38 | + { |
|
39 | + $this->query = $query; |
|
40 | + return $this; |
|
41 | + } |
|
42 | 42 | |
43 | 43 | /** |
44 | 44 | * @return int |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | |
51 | 51 | /** |
52 | 52 | * @param $repository |
53 | - * @param int $pAPINumber API number (e.g. 3) |
|
53 | + * @param int $pAPINumber API number (e.g. 3) |
|
54 | 54 | * @return \Doctrine\Common\Collections\ArrayCollection |
55 | 55 | */ |
56 | 56 | public function execute($repository, $pAPINumber = 1) |
@@ -55,7 +55,7 @@ |
||
55 | 55 | */ |
56 | 56 | public function execute($repository, $pAPINumber = 1) |
57 | 57 | { |
58 | - if (! $repository instanceof Record && ! $repository instanceof Story) { |
|
58 | + if (!$repository instanceof Record && !$repository instanceof Story) { |
|
59 | 59 | throw new \InvalidArgumentException('Invalid repository type (story or record required).'); |
60 | 60 | } |
61 | 61 |