Completed
Branch master (97ceb6)
by Daniel
04:35
created
src/DescriptionInterface.php 2 patches
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@  discard block
 block discarded – undo
12 12
     /**
13 13
      * Return the descriptors value for the given descriptor.
14 14
      *
15
-     * @param string $descriptor
15
+     * @param string $descriptorKey
16 16
      *
17
-     * @return mixed
17
+     * @return DescriptorInterface
18 18
      */
19 19
     public function get($descriptorKey): DescriptorInterface;
20 20
 
@@ -45,8 +45,9 @@  discard block
 block discarded – undo
45 45
      *   defined in the Descriptor class.
46 46
      *
47 47
      * @param string $key
48
-     * @param string $descriptor
48
+     * @param DescriptorInterface $descriptor
49 49
      * @param int    $priority
50
+     * @return void
50 51
      */
51 52
     public function set(string $key, DescriptorInterface $descriptor, int $priority = 0);
52 53
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\Description;
6 6
 
Please login to merge, or discard this patch.
src/ValidatedDescription.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\Description;
6 6
 
Please login to merge, or discard this patch.
src/Description.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\Description;
6 6
 
Please login to merge, or discard this patch.
src/DescriptorInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\Description;
6 6
 
Please login to merge, or discard this patch.
src/DescriptionFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\Description;
6 6
 
@@ -32,9 +32,9 @@  discard block
 block discarded – undo
32 32
     public function __construct(array $enhancers, Schema $schema = null, array $resolvers = [])
33 33
     {
34 34
         // type safety ...
35
-        array_walk($enhancers, function (EnhancerInterface $enhancer) {
35
+        array_walk($enhancers, function(EnhancerInterface $enhancer) {
36 36
         });
37
-        array_walk($resolvers, function (SubjectResolverInterface $enhancer) {
37
+        array_walk($resolvers, function(SubjectResolverInterface $enhancer) {
38 38
         });
39 39
 
40 40
         $this->enhancers = $enhancers;
Please login to merge, or discard this patch.
src/Schema/Schema.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\Description\Schema;
6 6
 
Please login to merge, or discard this patch.
src/Schema/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\Description\Schema;
6 6
 
Please login to merge, or discard this patch.
src/Schema/Definition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\Description\Schema;
6 6
 
Please login to merge, or discard this patch.
src/Schema/ExtensionInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\Description\Schema;
6 6
 
Please login to merge, or discard this patch.