Completed
Push — master ( 495f03...3ba762 )
by Jean-Christophe
01:52
created
Ubiquity/controllers/Startup.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -106,6 +106,9 @@  discard block
 block discarded – undo
106 106
 			$controller->finalize ();
107 107
 	}
108 108
 	
109
+	/**
110
+	 * @param Controller $controller
111
+	 */
109 112
 	public static function injectDependences($controller,$config){
110 113
 		if (\array_key_exists ( "di", $config )) {
111 114
 			$di = $config ["di"];
@@ -153,6 +156,9 @@  discard block
 block discarded – undo
153 156
 		self::$config = $config;
154 157
 	}
155 158
 
159
+	/**
160
+	 * @param string[] $needs
161
+	 */
156 162
 	private static function needsKeyInConfigArray(&$result, $array, $needs) {
157 163
 		foreach ( $needs as $need ) {
158 164
 			if (! isset ( $array [$need] ) || UString::isNull ( $array [$need] )) {
Please login to merge, or discard this patch.