Completed
Pull Request — master (#48)
by Robin
02:38
created
src/Security/Voter/HandleCommandVoter.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,6 @@
 block discarded – undo
32 32
      *
33 33
      * @param AccessDecisionManagerInterface $decisionManager
34 34
      * @param array $commandRoleMapping
35
-     * @param string $defaultRole
36 35
      */
37 36
     public function __construct(AccessDecisionManagerInterface $decisionManager, array $commandRoleMapping = [])
38 37
     {
Please login to merge, or discard this patch.
tests/Integration/IntegrationTest.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -45,16 +45,26 @@
 block discarded – undo
45 45
         );
46 46
     }
47 47
 
48
+    /**
49
+     * @param string $namespace
50
+     * @param string $config
51
+     */
48 52
     protected function givenConfig($namespace, $config)
49 53
     {
50 54
         static::$kernel->loadConfig($namespace, Yaml::parse((string) $config));
51 55
     }
52 56
 
57
+    /**
58
+     * @param string $serviceId
59
+     */
53 60
     protected function registerService($serviceId, $className, array $tags)
54 61
     {
55 62
         static::$kernel->addServiceToRegister($serviceId, $className, $tags);
56 63
     }
57 64
 
65
+    /**
66
+     * @param string $busId
67
+     */
58 68
     protected function handleCommand($busId, $commandClass, array $args)
59 69
     {
60 70
         $class = new \ReflectionClass($commandClass);
Please login to merge, or discard this patch.
tests/Security/Voter/HandleCommandVoterTest.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,6 @@
 block discarded – undo
36 36
      * @param type $attribute
37 37
      * @param type $subject
38 38
      * @param type $decision
39
-     * @param type $default
40 39
      * @param type $mapping
41 40
      * @param type $expected
42 41
      *
Please login to merge, or discard this patch.
tests/testapp/AppKernel.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@
 block discarded – undo
22 22
         ];
23 23
     }
24 24
 
25
+    /**
26
+     * @param string $dir
27
+     */
25 28
     public function defineCacheDir($dir)
26 29
     {
27 30
         $this->cacheDir = $dir;
Please login to merge, or discard this patch.
src/DependencyInjection/Compiler/UnknownMiddlewareException.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -4,6 +4,9 @@
 block discarded – undo
4 4
 
5 5
 class UnknownMiddlewareException extends \RuntimeException
6 6
 {
7
+    /**
8
+     * @param string $serviceId
9
+     */
7 10
     public static function withId($serviceId)
8 11
     {
9 12
         return new static(
Please login to merge, or discard this patch.