Completed
Push — 1.3-php-7.3 ( 701c0c...c8caf4 )
by Kamil
36:57
created
Bundle/ThemeBundle/Configuration/ConfigurationSourceFactoryInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
 
21 21
 interface ConfigurationSourceFactoryInterface
22 22
 {
23
+    /**
24
+     * @return void
25
+     */
23 26
     public function buildConfiguration(ArrayNodeDefinition $node): void;
24 27
 
25 28
     /**
Please login to merge, or discard this patch.
ThemeBundle/Configuration/Test/TestThemeConfigurationManagerInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -17,12 +17,19 @@
 block discarded – undo
17 17
 {
18 18
     public function findAll(): array;
19 19
 
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function add(array $configuration): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function remove(string $themeName): void;
23 29
 
24 30
     /**
25 31
      * Clear currently used configurations storage.
32
+     * @return void
26 33
      */
27 34
     public function clear(): void;
28 35
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Loader/CircularDependencyCheckerInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -19,6 +19,7 @@
 block discarded – undo
19 19
 {
20 20
     /**
21 21
      * @throws CircularDependencyFoundException
22
+     * @return void
22 23
      */
23 24
     public function check(ThemeInterface $theme): void;
24 25
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Model/ThemeInterface.php 1 patch
Doc Comments   +26 added lines patch added patch discarded remove patch
@@ -19,12 +19,24 @@  discard block
 block discarded – undo
19 19
 
20 20
     public function getPath(): string;
21 21
 
22
+    /**
23
+     * @return string|null
24
+     */
22 25
     public function getTitle(): ?string;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function setTitle(?string $title): void;
25 31
 
32
+    /**
33
+     * @return string|null
34
+     */
26 35
     public function getDescription(): ?string;
27 36
 
37
+    /**
38
+     * @return void
39
+     */
28 40
     public function setDescription(?string $description): void;
29 41
 
30 42
     /**
@@ -32,8 +44,14 @@  discard block
 block discarded – undo
32 44
      */
33 45
     public function getAuthors(): array;
34 46
 
47
+    /**
48
+     * @return void
49
+     */
35 50
     public function addAuthor(ThemeAuthor $author): void;
36 51
 
52
+    /**
53
+     * @return void
54
+     */
37 55
     public function removeAuthor(ThemeAuthor $author): void;
38 56
 
39 57
     /**
@@ -43,11 +61,13 @@  discard block
 block discarded – undo
43 61
 
44 62
     /**
45 63
      * @param ThemeInterface $theme
64
+     * @return void
46 65
      */
47 66
     public function addParent(self $theme): void;
48 67
 
49 68
     /**
50 69
      * @param ThemeInterface $theme
70
+     * @return void
51 71
      */
52 72
     public function removeParent(self $theme): void;
53 73
 
@@ -56,7 +76,13 @@  discard block
 block discarded – undo
56 76
      */
57 77
     public function getScreenshots(): array;
58 78
 
79
+    /**
80
+     * @return void
81
+     */
59 82
     public function addScreenshot(ThemeScreenshot $screenshot): void;
60 83
 
84
+    /**
85
+     * @return void
86
+     */
61 87
     public function removeScreenshot(ThemeScreenshot $screenshot): void;
62 88
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Repository/ThemeRepositoryInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -22,7 +22,13 @@
 block discarded – undo
22 22
      */
23 23
     public function findAll(): array;
24 24
 
25
+    /**
26
+     * @return ThemeInterface|null
27
+     */
25 28
     public function findOneByName(string $name): ?ThemeInterface;
26 29
 
30
+    /**
31
+     * @return ThemeInterface|null
32
+     */
27 33
     public function findOneByTitle(string $title): ?ThemeInterface;
28 34
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Translation/Finder/TranslationFilesFinder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-     * @return iterable|SplFileInfo[]
51
+     * @return \Symfony\Component\Finder\Finder
52 52
      */
53 53
     private function getFiles(string $path): iterable
54 54
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Translation/ThemeAwareTranslator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -104,6 +104,9 @@
 block discarded – undo
104 104
         }
105 105
     }
106 106
 
107
+    /**
108
+     * @param string|null $locale
109
+     */
107 110
     private function transformLocale(?string $locale): ?string
108 111
     {
109 112
         $theme = $this->themeContext->getTheme();
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Translation/Translator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     private $resourcesLoaded = false;
40 40
 
41 41
     /**
42
-     * @param MessageSelector|MessageFormatterInterface $messageFormatterOrSelector
42
+     * @param \PHPUnit\Framework\MockObject\MockObject $messageFormatterOrSelector
43 43
      */
44 44
     public function __construct(
45 45
         TranslatorLoaderProviderInterface $loaderProvider,
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Reloader/UserReloaderInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,5 +17,8 @@
 block discarded – undo
17 17
 
18 18
 interface UserReloaderInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function reloadUser(UserInterface $user): void;
21 24
 }
Please login to merge, or discard this patch.