@@ -15,7 +15,7 @@ |
||
| 15 | 15 | /** |
| 16 | 16 | * Gets the JSON-LD structure of an Organizer. |
| 17 | 17 | * |
| 18 | - * @param string $organizerId |
|
| 18 | + * @param string $oganizerId |
|
| 19 | 19 | * Id of the Organizer. |
| 20 | 20 | * |
| 21 | 21 | * @return \stdClass |
@@ -13,8 +13,6 @@ |
||
| 13 | 13 | protected $repositories; |
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | - * @param SavedSearchRepositoryInterface $repository,... |
|
| 17 | - * Optionally an unlimited list of repositories to combine. |
|
| 18 | 16 | * |
| 19 | 17 | * @throws \InvalidArgumentException |
| 20 | 18 | * When one of the provided arguments does not implement |
@@ -70,9 +70,9 @@ |
||
| 70 | 70 | public function serialize() |
| 71 | 71 | { |
| 72 | 72 | return [ |
| 73 | - 'id' => $this->id, |
|
| 74 | - 'label' => $this->label, |
|
| 75 | - 'domain' => $this->domain, |
|
| 73 | + 'id' => $this->id, |
|
| 74 | + 'label' => $this->label, |
|
| 75 | + 'domain' => $this->domain, |
|
| 76 | 76 | ]; |
| 77 | 77 | } |
| 78 | 78 | |
@@ -88,11 +88,11 @@ |
||
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | return parent::serialize() + array( |
| 91 | - 'title' => (string) $this->getTitle(), |
|
| 92 | - 'addresses' => $addresses, |
|
| 93 | - 'phones' => $this->getPhones(), |
|
| 94 | - 'emails' => $this->getEmails(), |
|
| 95 | - 'urls' => $this->getUrls(), |
|
| 91 | + 'title' => (string) $this->getTitle(), |
|
| 92 | + 'addresses' => $addresses, |
|
| 93 | + 'phones' => $this->getPhones(), |
|
| 94 | + 'emails' => $this->getEmails(), |
|
| 95 | + 'urls' => $this->getUrls(), |
|
| 96 | 96 | ); |
| 97 | 97 | } |
| 98 | 98 | |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | public function serialize() |
| 34 | 34 | { |
| 35 | 35 | return array( |
| 36 | - 'organizer_id' => $this->organizerId, |
|
| 36 | + 'organizer_id' => $this->organizerId, |
|
| 37 | 37 | ); |
| 38 | 38 | } |
| 39 | 39 | |
@@ -13,11 +13,11 @@ |
||
| 13 | 13 | interface SluggerInterface |
| 14 | 14 | { |
| 15 | 15 | /** |
| 16 | - * Returns the slug for a given string |
|
| 17 | - * |
|
| 18 | - * @param string $string |
|
| 19 | - * |
|
| 20 | - * @return string |
|
| 21 | - **/ |
|
| 16 | + * Returns the slug for a given string |
|
| 17 | + * |
|
| 18 | + * @param string $string |
|
| 19 | + * |
|
| 20 | + * @return string |
|
| 21 | + **/ |
|
| 22 | 22 | public function slug($string); |
| 23 | 23 | } |
@@ -78,6 +78,9 @@ |
||
| 78 | 78 | return $document->getRawBody(); |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | + /** |
|
| 82 | + * @param string $id |
|
| 83 | + */ |
|
| 81 | 84 | public function iri($id) |
| 82 | 85 | { |
| 83 | 86 | return $this->iriGenerator->iri($id); |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | 50 | * @param array $data |
| 51 | - * @return mixed The object instance |
|
| 51 | + * @return AbstractImageEvent The object instance |
|
| 52 | 52 | */ |
| 53 | 53 | public static function deserialize(array $data) |
| 54 | 54 | { |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | - * @param mixed $json |
|
| 73 | + * @param stdClass $json |
|
| 74 | 74 | * |
| 75 | 75 | * @throws ValidationException |
| 76 | 76 | */ |