Skip to content

Commit

Permalink
add new parameter to searchSchoolByYear (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
marek657 authored Mar 15, 2024
1 parent 6b0bc9e commit b6655e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,11 +354,12 @@ public function searchSchool(?string $title = null, ?string $nuts = null, ?strin
* @param int $year
* @param int $page
* @param int $perPage
* @param array $root
* @return mixed
* @throws \Psr\Cache\InvalidArgumentException
* @throws ReflectionException
*/
public function searchSchoolByYear(?string $query, ?string $nuts = null, array $type = [], ?int $year = null, $page = 1, $perPage = self::RESULTS_PER_PAGE)
public function searchSchoolByYear(?string $query, ?string $nuts = null, array $type = [], ?int $year = null, $page = 1, $perPage = self::RESULTS_PER_PAGE, array $root = [])
{
$parameterNames = array_slice($this->methodParameterExtractor->extract(__CLASS__, __FUNCTION__), 0, func_num_args());
$args = array_combine($parameterNames, func_get_args());
Expand Down

0 comments on commit b6655e1

Please sign in to comment.