Completed
Push — develop ( 3062c0...09456b )
by Mathias
07:45
created
module/Behat/src/CommonContextTrait.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@  discard block
 block discarded – undo
51 51
 		$this->summaryFormContext = $scope->getEnvironment()->getContext(SummaryFormContext::class);
52 52
 	}
53 53
 	
54
+	/**
55
+	 * @param string $name
56
+	 */
54 57
 	public function buildUrl($name, array $params=array(), array $options=array())
55 58
 	{
56 59
 	    $defaults = ['lang'=>'en'];
@@ -71,7 +74,7 @@  discard block
 block discarded – undo
71 74
 	}
72 75
 	
73 76
 	/**
74
-	 * @param $id
77
+	 * @param string $id
75 78
 	 * @return mixed|object
76 79
 	 */
77 80
 	public function getService($id)
@@ -80,7 +83,7 @@  discard block
 block discarded – undo
80 83
 	}
81 84
 	
82 85
 	/**
83
-	 * @param $id
86
+	 * @param string $id
84 87
 	 *
85 88
 	 * @return RepositoryInterface
86 89
 	 */
Please login to merge, or discard this patch.
module/Core/src/Core/Factory/Controller/LazyControllerFactory.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@  discard block
 block discarded – undo
59 59
 						if (array_key_exists($serviceName, $this->aliases)) {
60 60
 							$serviceName = $this->aliases[$serviceName];
61 61
 						}
62
-					}
63
-					else{
62
+					} else{
64 63
 						if( $p->getName() == 'config' ){
65 64
                             $serviceName = 'config';
66 65
                         }
@@ -74,8 +73,7 @@  discard block
 block discarded – undo
74 73
                     }
75 74
                     try {
76 75
                         $constructorArgs[] = $container->get($serviceName);
77
-                    }
78
-                    catch (\Exception $x) {
76
+                    } catch (\Exception $x) {
79 77
                         echo __CLASS__ . " couldn't create an instance of {$p->getName()} to satisfy the constructor for $requestedName.";
80 78
                         exit;
81 79
                     }
Please login to merge, or discard this patch.