Completed
Push — master ( 67c338...c7b167 )
by Wanderson
04:24
created
lib/autoload.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 /**
4 4
  * Autoload Model
5 5
  */
6
-spl_autoload_register(function ($className) {
6
+spl_autoload_register(function($className) {
7 7
 	$file = BASE_PATH . '/app/model/' . str_replace('\\', DIRECTORY_SEPARATOR, $className) . '.php';
8 8
 	if (file_exists($file)):
9 9
 		return require $file;
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 /**
14 14
  * Autoload Controller
15 15
  */
16
-spl_autoload_register(function ($className) {
16
+spl_autoload_register(function($className) {
17 17
 	$file = BASE_PATH . '/app/' . str_replace('\\', DIRECTORY_SEPARATOR, $className) . '.php';
18 18
 	if (file_exists($file)):
19 19
 		return require $file;
Please login to merge, or discard this patch.
app/model/Win/Mvc/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
 	 * @return User
90 90
 	 */
91 91
 	public function getUser() {
92
-		if(is_null($this->user)):
92
+		if (is_null($this->user)):
93 93
 			$this->user = User::getCurrentUser();
94 94
 		endif;
95 95
 		return $this->user;
Please login to merge, or discard this patch.