Completed
Push — master ( cb9840...092229 )
by Mike
04:19
created
src/Template/RendererInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -9,6 +9,7 @@
 block discarded – undo
9 9
      *
10 10
      * @param $name
11 11
      * @param $arguments
12
+     * @return string
12 13
      */
13 14
     public function render($name, $arguments);
14 15
 }
Please login to merge, or discard this patch.
src/Updater/Adapter/AdapterInterface.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -6,13 +6,24 @@
 block discarded – undo
6 6
 
7 7
 interface AdapterInterface
8 8
 {
9
+    /**
10
+     * @return boolean
11
+     */
9 12
     public function hasUpdate();
10 13
 
11 14
     public function getOldVersion();
12 15
 
13 16
     public function getNewVersion();
14 17
 
18
+    /**
19
+     * @param string $stability
20
+     *
21
+     * @return boolean
22
+     */
15 23
     public function update($stability = Updater::STABILITY_ANY);
16 24
 
25
+    /**
26
+     * @return boolean
27
+     */
17 28
     public function rollback();
18 29
 }
Please login to merge, or discard this patch.
src/Element/Provider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function getSuitableElements(Context $context)
52 52
     {
53
-        $elements = array_filter($this->specElements, function (ElementInterface $element) use ($context) {
53
+        $elements = array_filter($this->specElements, function(ElementInterface $element) use ($context) {
54 54
             return $element->isRelevantTo($context);
55 55
         });
56 56
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         }
64 64
 
65 65
         // sort elements (ASC)
66
-        usort($elements, function (ElementInterface $a, ElementInterface $b) {
66
+        usort($elements, function(ElementInterface $a, ElementInterface $b) {
67 67
             return $a->getOrder() > $b->getOrder() ? 1 : ($a->getOrder() < $b->getOrder() ? -1 : 0);
68 68
         });
69 69
 
Please login to merge, or discard this patch.
src/DI/Compiler/DataProviderPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         $providerChain = $container->findDefinition('data.provider_chain');
21 21
 
22 22
         $taggedProviders = $container->findTaggedServiceIds('data.provider');
23
-        $providers = array_map(function ($id) {
23
+        $providers = array_map(function($id) {
24 24
             return new Reference($id);
25 25
         }, array_keys($taggedProviders));
26 26
 
Please login to merge, or discard this patch.
src/DI/Compiler/ConsoleCommandPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         $application = $container->findDefinition('application');
21 21
 
22 22
         $taggedCommands = $container->findTaggedServiceIds('console.command');
23
-        $commands = array_map(function ($id) {
23
+        $commands = array_map(function($id) {
24 24
             return new Reference($id);
25 25
         }, array_keys($taggedCommands));
26 26
 
Please login to merge, or discard this patch.
src/Cache/Adapter/AdapterTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     }
89 89
 
90 90
     /**
91
-     * @param $key
91
+     * @param string $key
92 92
      *
93 93
      * @throws InvalidArgumentException
94 94
      */
Please login to merge, or discard this patch.
src/Cache/Adapter/File.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param string $key
38
-     * @param null   $default
38
+     * @param File   $default
39 39
      *
40 40
      * @return bool|mixed|null
41 41
      */
Please login to merge, or discard this patch.
src/Formatter/FormatterInterface.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -4,9 +4,20 @@
 block discarded – undo
4 4
 
5 5
 interface FormatterInterface
6 6
 {
7
+    /**
8
+     * @param string $text
9
+     *
10
+     * @return string
11
+     */
7 12
     public function asTitle($text, $level = 1);
8 13
 
14
+    /**
15
+     * @return string
16
+     */
9 17
     public function asBody($text);
10 18
 
19
+    /**
20
+     * @return string
21
+     */
11 22
     public function getDelimiter();
12 23
 }
Please login to merge, or discard this patch.