1
0
Fork 0

Symbols throws error for empty php file

Closes #186
pull/187/head
Michal Niewrzal 2016-11-29 12:39:38 +01:00 committed by GitHub
parent e8ab8aa2b8
commit 1115cd250e
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ class PhpDocument
*/
public function getDefinitions()
{
return $this->definitions;
return $this->definitions ?? [];
}
/**