Test Failed
Push — master ( 81d536...64f1fb )
by Joe
04:53
created
src/Loader.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -92,8 +92,6 @@
 block discarded – undo
92 92
 	/**
93 93
 	 * adds a requirement into the loader and registers it as a page with the router
94 94
 	 *
95
-	 * @param string $function php function name or class.class_name
96
-	 * @param string $path source file path
97 95
 	 */
98 96
 	public function add_public_path($page, $source) {
99 97
 		$this->public_routes['/'.$page] = $source;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 	public function get_routes($include_admin = FALSE) {
37 37
 		//if ($include_admin === FALSE && $GLOBALS['tf']->ima === 'admin')
38 38
 			//$include_admin = TRUE;
39
-		return $include_admin === TRUE? array_merge($this->admin_routes, $this->routes) : $this->routes;
39
+		return $include_admin === TRUE ? array_merge($this->admin_routes, $this->routes) : $this->routes;
40 40
 	}
41 41
 
42 42
 	/**
Please login to merge, or discard this patch.