Changing our coding standards slightly:
[isso.git] / App.php
diff --git a/App.php b/App.php
index d894a7b7e480fa475b232bbe96a8d583f0630c99..bfbfb25f8e002df6158d4a1f21ebd78a3f954ff1 100644 (file)
--- a/App.php
+++ b/App.php
@@ -36,11 +36,11 @@ if (!function_exists('array_fill_keys'))
 if ((bool)ini_get('register_globals') === true)
 {
        $superglobals = array('_GET', '_COOKIE', '_FILES', '_POST', '_SERVER', '_ENV');
-       foreach ($superglobals AS $global)
+       foreach ($superglobals as $global)
        {
                if (is_array(${$global}))
                {
-                       foreach (${$global} AS $_key => $_val)
+                       foreach (${$global} as $_key => $_val)
                        {
                                if (isset(${$_key}))
                                {
@@ -132,7 +132,7 @@ class BSApp
        public static function get_debug_list()
        {
                $output = '<select><option>Debug Notices (' . sizeof(self::$debugInfo) . ')</option>';
-               foreach (self::$debugInfo AS $notice)
+               foreach (self::$debugInfo as $notice)
                {
                        $output .= "<option>--- $notice</option>";
                }