PHP7 compatible function definitions.

This commit is contained in:
James Cole
2016-04-06 16:37:28 +02:00
parent c8440af9a5
commit 250b2c2f53
71 changed files with 220 additions and 190 deletions

View File

@@ -16,7 +16,7 @@ class Description implements PostProcessorInterface
/**
* @return array
*/
public function process()
public function process(): array
{
$description = $this->data['description'] ?? '';
$this->data['description'] = trim($description);