1
0
Fork 0

Symbols throws error for empty php file (#187)

Closes #186
pull/183/head^2
Michal Niewrzal 2016-11-29 13:10:02 +01:00 committed by Felix Becker
parent e8ab8aa2b8
commit ea92b224cd
1 changed files with 1 additions and 1 deletions

View File

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