@@ -48,7 +48,7 @@ |
||
| 48 | 48 | $contents = new CfpList(); |
| 49 | 49 | |
| 50 | 50 | foreach ($content['events'] as $event) { |
| 51 | - if (! $event['cfp_url']) { |
|
| 51 | + if (!$event['cfp_url']) { |
|
| 52 | 52 | continue; |
| 53 | 53 | } |
| 54 | 54 | $info = new Cfp(); |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | /** |
| 145 | 145 | * Gets the decorated flag. |
| 146 | 146 | * |
| 147 | - * @return bool true if the output will decorate messages, false otherwise |
|
| 147 | + * @return integer true if the output will decorate messages, false otherwise |
|
| 148 | 148 | * @api |
| 149 | 149 | */ |
| 150 | 150 | public function isDecorated() |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | /** |
| 167 | 167 | * Returns whether verbosity is quiet (-q). |
| 168 | 168 | * |
| 169 | - * @return bool true if verbosity is set to VERBOSITY_QUIET, false otherwise |
|
| 169 | + * @return boolean|null true if verbosity is set to VERBOSITY_QUIET, false otherwise |
|
| 170 | 170 | */ |
| 171 | 171 | public function isQuiet() |
| 172 | 172 | { |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * Get the array the iterator shall iterate over. |
| 44 | 44 | * |
| 45 | - * @return array |
|
| 45 | + * @return WriterInterface[] |
|
| 46 | 46 | */ |
| 47 | 47 | protected function & getIterableElement() |
| 48 | 48 | { |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | |
| 68 | 68 | $start = new \DateTime($input->getOption('start')); |
| 69 | 69 | |
| 70 | - if (! $start instanceof \DateTime) { |
|
| 70 | + if (!$start instanceof \DateTime) { |
|
| 71 | 71 | throw new \InvalidArgumentException('The given date could not be parsed'); |
| 72 | 72 | } |
| 73 | 73 | |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | throw new UnknownWriterException('The requested writer could not be created'); |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - if (! $writer instanceof WriterInterface) { |
|
| 45 | + if (!$writer instanceof WriterInterface) { |
|
| 46 | 46 | throw new InvalidWriterException('The requested writer is not of the expected type'); |
| 47 | 47 | } |
| 48 | 48 | |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | $this->output->writeln(sprintf( |
| 119 | 119 | 'Conference "%1$s" succcessfully %2$s.', |
| 120 | 120 | $cfp->conferenceName, |
| 121 | - ($exists)?'updated':'created' |
|
| 121 | + ($exists) ? 'updated' : 'created' |
|
| 122 | 122 | )); |
| 123 | 123 | |
| 124 | 124 | return isset($response) && ($response->getStatusCode() === 200 || $response->getStatusCode() === 201); |