summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2016-02-26 09:28:32 +0100
committerFabio Bas <ctrlaltca@gmail.com>2016-02-26 09:28:32 +0100
commit7f7e7ea14d19dc8e7609872d296075decd9850b2 (patch)
treefdb332b2b43ed19a940088cfc28d155f6b167488
parentb01aac13a3bc71eec9a934050e4cf0a9f58b02e7 (diff)
Fix indent
-rw-r--r--framework/Exceptions/TException.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/framework/Exceptions/TException.php b/framework/Exceptions/TException.php
index 033f7667..8e4861eb 100644
--- a/framework/Exceptions/TException.php
+++ b/framework/Exceptions/TException.php
@@ -358,16 +358,16 @@ class TPhpErrorException extends TSystemException
parent::__construct("[$errorType] $errstr (@line $errline in file $errfile).");
}
- /**
- * Returns if error is one of fatal type.
- *
- * @param array $error error got from error_get_last()
- * @return boolean if error is one of fatal type
- */
- public static function isFatalError($error)
- {
- return isset($error['type']) && in_array($error['type'], array(E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING));
- }
+ /**
+ * Returns if error is one of fatal type.
+ *
+ * @param array $error error got from error_get_last()
+ * @return boolean if error is one of fatal type
+ */
+ public static function isFatalError($error)
+ {
+ return isset($error['type']) && in_array($error['type'], array(E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING));
+ }
}