Completed
Push — master ( f31c26...b19c96 )
by Jean-Christophe
02:01
created
Ubiquity/controllers/auth/WithAuthTrait.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -43,6 +43,7 @@  discard block
 block discarded – undo
43 43
 	/**
44 44
 	 * {@inheritDoc}
45 45
 	 * @see \Ubiquity\controllers\Controller::isValid()
46
+	 * @param string $action
46 47
 	 */
47 48
 	public function isValid($action) {
48 49
 		return $this->_getAuthController()->_isValidUser();
@@ -79,6 +80,9 @@  discard block
 block discarded – undo
79 80
 	protected abstract function getAuthController():AuthController;
80 81
 	
81 82
 	
83
+	/**
84
+	 * @param AuthController $authController
85
+	 */
82 86
 	protected function checkConnection($authController){
83 87
 		if($authController->_checkConnectionTimeout()!=null){
84 88
 			$authController->_disconnected();
Please login to merge, or discard this patch.
Ubiquity/controllers/rest/RestController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -44,6 +44,9 @@
 block discarded – undo
44 44
 			$this->onInvalidControl ();
45 45
 	}
46 46
 
47
+	/**
48
+	 * @param string $action
49
+	 */
47 50
 	public function isValid($action){
48 51
 		if(isset($this->restCache["authorizations"])){
49 52
 			if(\array_search($action, $this->restCache["authorizations"])!==false){
Please login to merge, or discard this patch.
Ubiquity/controllers/Startup.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -109,6 +109,9 @@  discard block
 block discarded – undo
109 109
 		}
110 110
 	}
111 111
 	
112
+	/**
113
+	 * @param Controller $controller
114
+	 */
112 115
 	public static function injectDependences($controller,$config){
113 116
 		if (\array_key_exists ( "di", $config )) {
114 117
 			$di = $config ["di"];
@@ -156,6 +159,9 @@  discard block
 block discarded – undo
156 159
 		self::$config = $config;
157 160
 	}
158 161
 
162
+	/**
163
+	 * @param string[] $needs
164
+	 */
159 165
 	private static function needsKeyInConfigArray(&$result, $array, $needs) {
160 166
 		foreach ( $needs as $need ) {
161 167
 			if (! isset ( $array [$need] ) || UString::isNull ( $array [$need] )) {
Please login to merge, or discard this patch.