aboutsummaryrefslogtreecommitdiffstats
path: root/Exception/Exception.php
diff options
context:
space:
mode:
Diffstat (limited to 'Exception/Exception.php')
-rw-r--r--Exception/Exception.php20
1 files changed, 8 insertions, 12 deletions
diff --git a/Exception/Exception.php b/Exception/Exception.php
index dcece9c..ee837d8 100644
--- a/Exception/Exception.php
+++ b/Exception/Exception.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Ivan Enderlin. All rights reserved.
+ * Copyright © 2007-2015, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -34,27 +34,23 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-namespace Hoa\Praspel\Exception {
+namespace Hoa\Praspel\Exception;
+
+use Hoa\Core;
/**
* Interface \Hoa\Praspel\Exception.
*
* Interface representing Hoa\Praspel exceptions.
*
- * @author Ivan Enderlin <ivan.enderlin@hoa-project.net>
- * @copyright Copyright © 2007-2015 Ivan Enderlin.
+ * @copyright Copyright © 2007-2015 Hoa community
* @license New BSD License
*/
-
-interface Exception { }
-
+interface Exception
+{
}
-namespace {
-
/**
* Flex entity.
*/
-Hoa\Core\Consistency::flexEntity('Hoa\Praspel\Exception\Exception');
-
-}
+Core\Consistency::flexEntity('Hoa\Praspel\Exception\Exception');