Completed
Push — master ( 74be15...93fb13 )
by Wanderson
02:18
created
app/model/Win/Mvc/Controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 	 * Evita chamada de um metodo que nao existe
98 98
 	 * @param string $name
99 99
 	 * @param mixed[] $arguments
100
-	 * @return boolean
100
+	 * @return boolean|null
101 101
 	 */
102 102
 	public function __call($name, $arguments) {
103 103
 		$this->app->pageNotFound();
Please login to merge, or discard this patch.
app/model/Win/Mvc/Application.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
 		return Input::server('SERVER_NAME', FILTER_SANITIZE_STRING);
118 118
 	}
119 119
 
120
-	/** @return bolean */
120
+	/** @return boolean */
121 121
 	public function isLocalHost() {
122 122
 		return (in_array($this->getServerName(), ['localhost', '127.0.0.1', '::1', null]));
123 123
 	}
Please login to merge, or discard this patch.
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/DesignPattern/DAO.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
 	/**
110 110
 	 * Busca o objeto por um campo/atributo específico
111 111
 	 * @param string $name Nome do atributo
112
-	 * @param mixed $value Valor do atributo
112
+	 * @param integer $value Valor do atributo
113 113
 	 */
114 114
 	public function fetchByField($name, $value) {
115 115
 		return $this->fetch([$name . ' = ?' => $value]);
Please login to merge, or discard this patch.