Completed
Push — master ( 3db9b8...513071 )
by Wanderson
01:41
created
lib/autoload.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 /**
4 4
  * Autoload Controller
5 5
  */
6
-spl_autoload_register(function ($className) {
6
+spl_autoload_register(function($className) {
7 7
 	$file = BASE_PATH . '/app/' . 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 Model
15 15
  */
16
-spl_autoload_register(function ($className) {
16
+spl_autoload_register(function($className) {
17 17
 	$file = BASE_PATH . '/app/model/' . str_replace('\\', DIRECTORY_SEPARATOR, $className) . '.php';
18 18
 	if (file_exists($file)):
19 19
 		return require $file;
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 /**
24 24
  * Autoload Lib
25 25
  */
26
-spl_autoload_register(function ($className) {
26
+spl_autoload_register(function($className) {
27 27
 	$file = BASE_PATH . '/lib/vendor/' . str_replace('\\', DIRECTORY_SEPARATOR, $className) . '.php';
28 28
 	if (file_exists($file)):
29 29
 		return require $file;
Please login to merge, or discard this patch.
app/model/Win/Mvc/Controller.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@  discard block
 block discarded – undo
37 37
 	}
38 38
 
39 39
 
40
+	/**
41
+	 * @param string $title
42
+	 */
40 43
 	public function setTitle($title) {
41 44
 		$this->addData('title', $title);
42 45
 	}
@@ -142,7 +145,7 @@  discard block
 block discarded – undo
142 145
 	 * Evita chamada de um metodo que nao existe
143 146
 	 * @param string $name
144 147
 	 * @param mixed[] $arguments
145
-	 * @return boolean
148
+	 * @return boolean|null
146 149
 	 */
147 150
 	public function __call($name, $arguments) {
148 151
 		$this->app->pageNotFound();
Please login to merge, or discard this patch.