Completed
Push — component-bundle ( 0f1f3e )
by Kamil
35:06
created
src/Sylius/Component/Registry/ServiceRegistryInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
      *
28 28
      * @throws ExistingServiceException
29 29
      * @throws \InvalidArgumentException
30
+     * @return void
30 31
      */
31 32
     public function register($identifier, $service);
32 33
 
@@ -34,6 +35,7 @@  discard block
 block discarded – undo
34 35
      * @param string $identifier
35 36
      *
36 37
      * @throws NonExistingServiceException
38
+     * @return void
37 39
      */
38 40
     public function unregister($identifier);
39 41
 
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Metadata/RegistryInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -39,12 +39,14 @@
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @param MetadataInterface $metadata
42
+     * @return void
42 43
      */
43 44
     public function add(MetadataInterface $metadata);
44 45
 
45 46
     /**
46 47
      * @param string $alias
47 48
      * @param array $configuration
49
+     * @return void
48 50
      */
49 51
     public function addFromAliasAndConfiguration($alias, array $configuration);
50 52
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/CodeAwareInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param string $code
26
+     * @return void
26 27
      */
27 28
     public function setCode($code);
28 29
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/SlugAwareInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param string $slug
26
+     * @return void
26 27
      */
27 28
     public function setSlug($slug = null);
28 29
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/TimestampableInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -28,11 +28,13 @@
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * @param \DateTime $createdAt
31
+     * @return void
31 32
      */
32 33
     public function setCreatedAt(\DateTime $createdAt);
33 34
 
34 35
     /**
35 36
      * @param \DateTime $updatedAt
37
+     * @return void
36 38
      */
37 39
     public function setUpdatedAt(\DateTime $updatedAt);
38 40
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/ToggleableInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -23,10 +23,17 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param bool $enabled
26
+     * @return void
26 27
      */
27 28
     public function setEnabled($enabled);
28 29
 
30
+    /**
31
+     * @return void
32
+     */
29 33
     public function enable();
30 34
 
35
+    /**
36
+     * @return void
37
+     */
31 38
     public function disable();
32 39
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/TranslationInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param null|TranslatableInterface $translatable
26
+     * @return void
26 27
      */
27 28
     public function setTranslatable(TranslatableInterface $translatable = null);
28 29
 
@@ -33,6 +34,7 @@  discard block
 block discarded – undo
33 34
 
34 35
     /**
35 36
      * @param string $locale
37
+     * @return void
36 38
      */
37 39
     public function setLocale($locale);
38 40
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Repository/InMemoryRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
      * @param ResourceInterface[] $resources
185 185
      * @param array               $criteria
186 186
      *
187
-     * @return ResourceInterface[]|array
187
+     * @return ResourceInterface[]
188 188
      */
189 189
     private function applyCriteria(array $resources, array $criteria)
190 190
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Repository/RepositoryInterface.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,17 +27,19 @@
 block discarded – undo
27 27
      * @param array $criteria
28 28
      * @param array $sorting
29 29
      *
30
-     * @return mixed
30
+     * @return \Pagerfanta\Pagerfanta
31 31
      */
32 32
     public function createPaginator(array $criteria = [], array $sorting = []);
33 33
 
34 34
     /**
35 35
      * @param ResourceInterface $resource
36
+     * @return void
36 37
      */
37 38
     public function add(ResourceInterface $resource);
38 39
 
39 40
     /**
40 41
      * @param ResourceInterface $resource
42
+     * @return void
41 43
      */
42 44
     public function remove(ResourceInterface $resource);
43 45
 }
Please login to merge, or discard this patch.