Skip to content

Commit d988527

Browse files
committed
inspect code
1 parent 15b8507 commit d988527

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

src/mrcnpdlk/MojePanstwo/Client.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,12 @@ public function getLogger()
100100
}
101101

102102
/**
103-
* @param string $context
104-
* @param string|null $id
103+
* @param string $sPrefixedContext
104+
* @param string|null $id
105105
* @param \mrcnpdlk\MojePanstwo\QueryBuilder|null $oParams
106106
*
107107
* @return \stdClass
108+
* @internal param string $context
108109
*/
109110
public function request(string $sPrefixedContext, string $id = null, QueryBuilder $oParams = null)
110111
{

src/mrcnpdlk/MojePanstwo/Model/SearchResponse.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ class SearchResponse
4848
/**
4949
* SearchResponse constructor.
5050
*
51-
* @param $count
52-
* @param $took
53-
* @param \mrcnpdlk\MojePanstwo\Model\SearchResponseLinks $links
51+
* @param $count
52+
* @param $took
53+
* @param \mrcnpdlk\MojePanstwo\Model\SearchResponseLinks $links
54+
* @param \mrcnpdlk\MojePanstwo\Model\SearchResponseItem[] $items
5455
*/
5556
public function __construct($count, $took, SearchResponseLinks $links, $items = [])
5657
{

src/mrcnpdlk/MojePanstwo/Model/SearchResponseLinks.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class SearchResponseLinks
6161
* @param string|null $first
6262
* @param string|null $next
6363
* @param string|null $last
64+
* @param string|null $prev
6465
*/
6566
public function __construct(string $self = null, string $first = null, string $next = null, string $last = null, string $prev = null)
6667
{

src/mrcnpdlk/MojePanstwo/QueryBuilder.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ private function __construct(string $returnedClass)
6262
$this->query['page'] = null;
6363
$this->query['limit'] = null;
6464
$this->sReturnedClass = $returnedClass;
65-
$this->sContext = $returnedClass::CONTEXT;
66-
$this->sPrefixedContext = '/dane/' . $this->sContext;
65+
/** @noinspection PhpUndefinedFieldInspection */
66+
$this->sContext = $returnedClass::CONTEXT;
67+
$this->sPrefixedContext = '/dane/' . $this->sContext;
6768
}
6869

6970
/**

0 commit comments

Comments
 (0)