Completed
Push — 1.5 ( c7ed60...798d9d )
by Paweł
19s queued 10s
created
src/SWP/Bundle/ContentBundle/Routing/MediaRouter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@
 block discarded – undo
71 71
         return 'Route for media '.$name->getValues()->getId().' not found';
72 72
     }
73 73
 
74
+    /**
75
+     * @param string $name
76
+     */
74 77
     private function getItem($name)
75 78
     {
76 79
         $values = $name->getValues();
Please login to merge, or discard this patch.
src/SWP/Component/TemplatesSystem/Gimme/Context/Context.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,6 +75,9 @@  discard block
 block discarded – undo
75 75
      */
76 76
     private $configurationCache = [];
77 77
 
78
+    /**
79
+     * @param string $configsPath
80
+     */
78 81
     public function __construct(EventDispatcherInterface $dispatcher, Cache $metadataCache, $configsPath = null)
79 82
     {
80 83
         $this->metadataCache = $metadataCache;
@@ -175,6 +178,9 @@  discard block
 block discarded – undo
175 178
         return new Meta($this, $value, $this->getConfigurationForValue($value));
176 179
     }
177 180
 
181
+    /**
182
+     * @return boolean
183
+     */
178 184
     public function isSupported($value)
179 185
     {
180 186
         if (!is_object($value)) {
@@ -312,7 +318,7 @@  discard block
 block discarded – undo
312 318
     }
313 319
 
314 320
     /**
315
-     * @param array $keys
321
+     * @param string[] $keys
316 322
      *
317 323
      * @return string
318 324
      */
@@ -344,7 +350,7 @@  discard block
 block discarded – undo
344 350
     /**
345 351
      * @param string $id
346 352
      *
347
-     * @return null|true
353
+     * @return null|boolean
348 354
      */
349 355
     public function restoreTemporaryUnset($id)
350 356
     {
Please login to merge, or discard this patch.
src/SWP/Component/TemplatesSystem/Twig/Extension/ContainerExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     }
44 44
 
45 45
     /**
46
-     * @return array|\Twig_TokenParserInterface[]
46
+     * @return ContainerTokenParser[]
47 47
      */
48 48
     public function getTokenParsers()
49 49
     {
Please login to merge, or discard this patch.
src/SWP/Component/TemplatesSystem/Twig/Extension/GimmeExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     }
72 72
 
73 73
     /**
74
-     * @return array
74
+     * @return \Twig_SimpleFilter[]
75 75
      */
76 76
     public function getFilters()
77 77
     {
Please login to merge, or discard this patch.
src/SWP/Component/TemplatesSystem/Twig/Node/ContainerNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      * @param \Twig_Node_Expression|null $parameters
27 27
      * @param \Twig_Node                 $body
28 28
      * @param null|string                $lineno
29
-     * @param null                       $tag
29
+     * @param string                       $tag
30 30
      */
31 31
     public function __construct(\Twig_Node $name, \Twig_Node_Expression $parameters = null, \Twig_Node $body, $lineno, $tag = null)
32 32
     {
Please login to merge, or discard this patch.
src/SWP/Component/TemplatesSystem/Twig/Node/GimmeListNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      * @param \Twig_Node|null                   $else
37 37
      * @param \Twig_Node                        $body
38 38
      * @param int                               $lineno
39
-     * @param null                              $tag
39
+     * @param string                              $tag
40 40
      */
41 41
     public function __construct(
42 42
         \Twig_Node $variable,
Please login to merge, or discard this patch.
src/SWP/Component/TemplatesSystem/Twig/Node/GimmeNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      * @param \Twig_Node_Expression|null $ignoreContext
30 30
      * @param \Twig_Node                 $body
31 31
      * @param int                        $lineno
32
-     * @param null                       $tag
32
+     * @param string                       $tag
33 33
      */
34 34
     public function __construct(
35 35
         \Twig_Node $annotation,
Please login to merge, or discard this patch.
src/SWP/Behat/Listener/FixturesHookListener.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * Listens to "exercise.before" event.
63 63
      *
64
-     * @param \Behat\Testwork\Tester\Event\ExerciseCompleted $event
64
+     * @param ExerciseCompleted $event
65 65
      */
66 66
     public function beforeExercise(ExerciseCompleted $event)
67 67
     {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     /**
73 73
      * Listens to "feature.before" event.
74 74
      *
75
-     * @param \Behat\Behat\Tester\Event\FeatureTested $event
75
+     * @param FeatureTested $event
76 76
      */
77 77
     public function beforeFeature(FeatureTested $event)
78 78
     {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * Listens to "feature.after" event.
88 88
      *
89
-     * @param \Behat\Behat\Tester\Event\FeatureTested $event
89
+     * @param FeatureTested $event
90 90
      */
91 91
     public function afterFeature(FeatureTested $event)
92 92
     {
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     /**
102 102
      * Listens to "scenario.before" and "outline.example.before" event.
103 103
      *
104
-     * @param \Behat\Behat\Tester\Event\AbstractScenarioTested $event
104
+     * @param ScenarioTested $event
105 105
      */
106 106
     public function beforeScenario(ScenarioTested $event)
107 107
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     /**
117 117
      * Listens to "scenario.after" and "outline.example.after" event.
118 118
      *
119
-     * @param \Behat\Behat\Tester\Event\AbstractScenarioTested $event
119
+     * @param ScenarioTested $event
120 120
      */
121 121
     public function afterScenario(ScenarioTested $event)
122 122
     {
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Resolver/ArticleResolver.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@
 block discarded – undo
62 62
         return $result;
63 63
     }
64 64
 
65
+    /**
66
+     * @return string
67
+     */
65 68
     private function getFragmentFromUrl(string $url, string $fragment): ?string
66 69
     {
67 70
         $fragments = \parse_url($url);
Please login to merge, or discard this patch.