]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/filter/chat/class_ChatPhpRequirementsFilter.php
Updated 'core'.
[hub.git] / application / hub / main / filter / chat / class_ChatPhpRequirementsFilter.php
index fafda5ea3c4937701e06f58739decb16271c1f52..e794a66354dc00685186e9803123036fdc0fa5f9 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A PhpRequirements filter for chat
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
+ * @copyright  Copyright (c) 2012 Chat Developer Teama
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -56,18 +56,18 @@ class ChatPhpRequirementsFilter extends BaseChatFilter implements Filterable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // By default, the requirement check is passed and zero checks are failed
-               $checkPassed = true;
+               $checkPassed = TRUE;
                $checksFailed = 0;
 
                // Socket support is essential...
                if (!function_exists('socket_create')) {
                        // Test failed
-                       $checkPassed = false;
+                       $checkPassed = FALSE;
                        $checksFailed++;
                } // END -if
 
                // Are all tests passed?
-               if ($checkPassed === false) {
+               if ($checkPassed === FALSE) {
                        // Throw an exception
                        throw new FilterChainException($this, self::FILTER_CHAIN_INTERCEPTED);
                } // END - if