@@ -74,13 +74,13 @@ |
||
| 74 | 74 | * Search for records |
| 75 | 75 | * |
| 76 | 76 | * @param array $parameters Query parameters |
| 77 | - * @param int $pAPINumber API number (e.g. 3) |
|
| 77 | + * @param int $pAPINumber API number (e.g. 3) |
|
| 78 | 78 | * @return \PhraseanetSDK\Entity\Query object |
| 79 | 79 | * @throws RuntimeException |
| 80 | 80 | */ |
| 81 | 81 | public function search(array $parameters = array(), $pAPINumber = 1) |
| 82 | 82 | { |
| 83 | - $response = $this->query('POST', 'v'.$pAPINumber.'/searchraw/', array(), array_merge( |
|
| 83 | + $response = $this->query('POST', 'v'.$pAPINumber.'/searchraw/', array(), array_merge( |
|
| 84 | 84 | array('search_type' => 0), |
| 85 | 85 | $parameters |
| 86 | 86 | )); |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | * Search for stories |
| 69 | 69 | * |
| 70 | 70 | * @param array $parameters Query parameters |
| 71 | - * @param int $pAPINumber API number (e.g. 3) |
|
| 71 | + * @param int $pAPINumber API number (e.g. 3) |
|
| 72 | 72 | * @return \PhraseanetSDK\Entity\Query object |
| 73 | 73 | * @throws RuntimeException |
| 74 | 74 | */ |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | { |
| 77 | 77 | $response = $this->query('POST', 'v'.$pAPINumber.'/searchraw/', array(), array_merge( |
| 78 | 78 | $parameters, |
| 79 | - array('search_type' => SearchResult::TYPE_STORY) |
|
| 79 | + array('search_type' => SearchResult::TYPE_STORY) |
|
| 80 | 80 | )); |
| 81 | 81 | |
| 82 | 82 | if ($response->isEmpty()) { |