Jelajahi Sumber

WhitespaceClean-resources/classes

whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
mafoo 9 tahun lalu
induk
melakukan
26b12ece46

+ 1 - 1
resources/classes/cache.php

@@ -2,7 +2,7 @@
 
 /**
  * cache class provides an abstracted cache
- * 
+ *
  * @method string set
  * @method string get
  * @method string delete

+ 1 - 1
resources/classes/event/handler/syslog.php

@@ -21,7 +21,7 @@ class Syslog extends Event_Handler{
 		if ($_SESSION['event']['syslog']['enable'] <> 0){
 			closelog();
 		}
-	} 
+	}
 
 	public function log_event($event_type, $params){
 		if ($_SESSION['event']['syslog']['enable'] <> 0){

+ 1 - 1
resources/classes/orm.php

@@ -661,7 +661,7 @@
 
 			//define singular function to convert a word in english to singular
 				private function singular($word) {
-					//"-es" is used for words that end in "-x", "-s", "-z", "-sh", "-ch" in which case you add 
+					//"-es" is used for words that end in "-x", "-s", "-z", "-sh", "-ch" in which case you add
 					if (substr($word, -2) == "es") {
 						if (substr($word, -3, 1) == "x") {
 							return substr($word,0,-2);

+ 1 - 1
resources/classes/permissions.php

@@ -23,7 +23,7 @@
 
 /**
  * permission class
- * 
+ *
  * @method string add
  * @method string delete
  * @method string exists

+ 1 - 1
resources/classes/template.php

@@ -80,7 +80,7 @@ include "root.php";
 					$this->object->assign($key, $value);
 				}
 				if ($this->engine === 'twig') {
-					$this->var_array[$key] = $value; 
+					$this->var_array[$key] = $value;
 				}
 			}