Commit 9bece57e authored by Marco Schmiedel's avatar Marco Schmiedel

fix

parent 2af84351
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
| Class "BeautifyManager" | Class "BeautifyManager"
|------------------------------------------------------------------------------------------------ |------------------------------------------------------------------------------------------------
*/ */
class BeautifyManager class BeautifyManager
{ {
/* /*
|-------------------------------------------------------------------------------------------- |--------------------------------------------------------------------------------------------
...@@ -204,6 +204,12 @@ ...@@ -204,6 +204,12 @@
return $this->tpl; return $this->tpl;
} }
// Its better to abort here when the class does not have any methods...
if(!isset($this->classes['Methods']))
{
return false;
}
/* /*
|---------------------------------------------------------------------------------------- |----------------------------------------------------------------------------------------
| Write document to file. | Write document to file.
...@@ -360,7 +366,7 @@ ...@@ -360,7 +366,7 @@
*/ */
if($classes == false) if($classes == false)
{ {
exit(); return false;
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment