@@ -22,11 +22,13 @@ |
||
| 22 | 22 | { |
| 23 | 23 | /** |
| 24 | 24 | * @param ReviewableInterface $reviewSubject |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function update(ReviewableInterface $reviewSubject); |
| 27 | 28 | |
| 28 | 29 | /** |
| 29 | 30 | * @param ReviewInterface $review |
| 31 | + * @return void |
|
| 30 | 32 | */ |
| 31 | 33 | public function updateFromReview(ReviewInterface $review); |
| 32 | 34 | } |
@@ -11,8 +11,8 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Sylius\Bundle\ReviewBundle\Updater; |
| 13 | 13 | |
| 14 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 15 | 14 | use Sylius\Component\Review\Model\ReviewInterface; |
| 15 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | 18 | * @author Mateusz Zalewski <[email protected]> |
@@ -20,6 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param OutputInterface $output |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function setOutput(OutputInterface $output); |
| 25 | 26 | } |
@@ -23,16 +23,19 @@ |
||
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * @param array $configuration |
| 26 | + * @return void |
|
| 26 | 27 | */ |
| 27 | 28 | public function add(array $configuration); |
| 28 | 29 | |
| 29 | 30 | /** |
| 30 | 31 | * @param string $themeName |
| 32 | + * @return void |
|
| 31 | 33 | */ |
| 32 | 34 | public function remove($themeName); |
| 33 | 35 | |
| 34 | 36 | /** |
| 35 | 37 | * Clear currently used configurations storage. |
| 38 | + * @return void |
|
| 36 | 39 | */ |
| 37 | 40 | public function clear(); |
| 38 | 41 | } |
@@ -33,6 +33,7 @@ discard block |
||
| 33 | 33 | * |
| 34 | 34 | * @throws FileNotFoundException When originFile doesn't exist |
| 35 | 35 | * @throws IOException When copy fails |
| 36 | + * @return void |
|
| 36 | 37 | */ |
| 37 | 38 | public function copy($originFile, $targetFile, $override = false); |
| 38 | 39 | |
@@ -43,13 +44,14 @@ discard block |
||
| 43 | 44 | * @param int $mode The directory mode |
| 44 | 45 | * |
| 45 | 46 | * @throws IOException On any directory creation failure |
| 47 | + * @return void |
|
| 46 | 48 | */ |
| 47 | 49 | public function mkdir($dirs, $mode = 0777); |
| 48 | 50 | |
| 49 | 51 | /** |
| 50 | 52 | * Checks the existence of files or directories. |
| 51 | 53 | * |
| 52 | - * @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to check |
|
| 54 | + * @param string $files A filename, an array of files, or a \Traversable instance to check |
|
| 53 | 55 | * |
| 54 | 56 | * @return bool true if the file exists, false otherwise |
| 55 | 57 | */ |
@@ -63,6 +65,7 @@ discard block |
||
| 63 | 65 | * @param int $atime The access time as a Unix timestamp |
| 64 | 66 | * |
| 65 | 67 | * @throws IOException When touch fails |
| 68 | + * @return void |
|
| 66 | 69 | */ |
| 67 | 70 | public function touch($files, $time = null, $atime = null); |
| 68 | 71 | |
@@ -72,6 +75,7 @@ discard block |
||
| 72 | 75 | * @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to remove |
| 73 | 76 | * |
| 74 | 77 | * @throws IOException When removal fails |
| 78 | + * @return void |
|
| 75 | 79 | */ |
| 76 | 80 | public function remove($files); |
| 77 | 81 | |
@@ -84,6 +88,7 @@ discard block |
||
| 84 | 88 | * @param bool $recursive Whether change the mod recursively or not |
| 85 | 89 | * |
| 86 | 90 | * @throws IOException When the change fail |
| 91 | + * @return void |
|
| 87 | 92 | */ |
| 88 | 93 | public function chmod($files, $mode, $umask = 0000, $recursive = false); |
| 89 | 94 | |
@@ -95,6 +100,7 @@ discard block |
||
| 95 | 100 | * @param bool $recursive Whether change the owner recursively or not |
| 96 | 101 | * |
| 97 | 102 | * @throws IOException When the change fail |
| 103 | + * @return void |
|
| 98 | 104 | */ |
| 99 | 105 | public function chown($files, $user, $recursive = false); |
| 100 | 106 | |
@@ -106,6 +112,7 @@ discard block |
||
| 106 | 112 | * @param bool $recursive Whether change the group recursively or not |
| 107 | 113 | * |
| 108 | 114 | * @throws IOException When the change fail |
| 115 | + * @return void |
|
| 109 | 116 | */ |
| 110 | 117 | public function chgrp($files, $group, $recursive = false); |
| 111 | 118 | |
@@ -118,6 +125,7 @@ discard block |
||
| 118 | 125 | * |
| 119 | 126 | * @throws IOException When target file or directory already exists |
| 120 | 127 | * @throws IOException When origin cannot be renamed |
| 128 | + * @return void |
|
| 121 | 129 | */ |
| 122 | 130 | public function rename($origin, $target, $overwrite = false); |
| 123 | 131 | |
@@ -129,6 +137,7 @@ discard block |
||
| 129 | 137 | * @param bool $copyOnWindows Whether to copy files if on Windows |
| 130 | 138 | * |
| 131 | 139 | * @throws IOException When symlink fails |
| 140 | + * @return void |
|
| 132 | 141 | */ |
| 133 | 142 | public function symlink($originDir, $targetDir, $copyOnWindows = false); |
| 134 | 143 | |
@@ -145,6 +154,7 @@ discard block |
||
| 145 | 154 | * - $options['delete'] Whether to delete files that are not in the source directory (defaults to false) |
| 146 | 155 | * |
| 147 | 156 | * @throws IOException When file type is unknown |
| 157 | + * @return void |
|
| 148 | 158 | */ |
| 149 | 159 | public function mirror($originDir, $targetDir, \Traversable $iterator = null, $options = []); |
| 150 | 160 | |
@@ -22,6 +22,7 @@ |
||
| 22 | 22 | * @param ThemeInterface $theme |
| 23 | 23 | * |
| 24 | 24 | * @throws CircularDependencyFoundException |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function check(ThemeInterface $theme); |
| 27 | 28 | } |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | - * @param array $themes |
|
| 40 | + * @param ThemeInterface[] $themes |
|
| 41 | 41 | * |
| 42 | 42 | * @return array |
| 43 | 43 | */ |
@@ -33,6 +33,7 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * @param string $title |
| 36 | + * @return void |
|
| 36 | 37 | */ |
| 37 | 38 | public function setTitle($title); |
| 38 | 39 | |
@@ -43,6 +44,7 @@ discard block |
||
| 43 | 44 | |
| 44 | 45 | /** |
| 45 | 46 | * @param string $description |
| 47 | + * @return void |
|
| 46 | 48 | */ |
| 47 | 49 | public function setDescription($description); |
| 48 | 50 | |
@@ -53,11 +55,13 @@ discard block |
||
| 53 | 55 | |
| 54 | 56 | /** |
| 55 | 57 | * @param ThemeAuthor $author |
| 58 | + * @return void |
|
| 56 | 59 | */ |
| 57 | 60 | public function addAuthor(ThemeAuthor $author); |
| 58 | 61 | |
| 59 | 62 | /** |
| 60 | 63 | * @param ThemeAuthor $author |
| 64 | + * @return void |
|
| 61 | 65 | */ |
| 62 | 66 | public function removeAuthor(ThemeAuthor $author); |
| 63 | 67 | |
@@ -68,11 +72,13 @@ discard block |
||
| 68 | 72 | |
| 69 | 73 | /** |
| 70 | 74 | * @param ThemeInterface $theme |
| 75 | + * @return void |
|
| 71 | 76 | */ |
| 72 | 77 | public function addParent(ThemeInterface $theme); |
| 73 | 78 | |
| 74 | 79 | /** |
| 75 | 80 | * @param ThemeInterface $theme |
| 81 | + * @return void |
|
| 76 | 82 | */ |
| 77 | 83 | public function removeParent(ThemeInterface $theme); |
| 78 | 84 | |
@@ -83,11 +89,13 @@ discard block |
||
| 83 | 89 | |
| 84 | 90 | /** |
| 85 | 91 | * @param ThemeScreenshot $screenshot |
| 92 | + * @return void |
|
| 86 | 93 | */ |
| 87 | 94 | public function addScreenshot(ThemeScreenshot $screenshot); |
| 88 | 95 | |
| 89 | 96 | /** |
| 90 | 97 | * @param ThemeScreenshot $screenshot |
| 98 | + * @return void |
|
| 91 | 99 | */ |
| 92 | 100 | public function removeScreenshot(ThemeScreenshot $screenshot); |
| 93 | 101 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | - * @return array |
|
| 31 | + * @return string[] |
|
| 32 | 32 | */ |
| 33 | 33 | protected function getTranslationsLines() |
| 34 | 34 | { |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | /** |
| 54 | 54 | * @param string $path |
| 55 | 55 | * |
| 56 | - * @return array |
|
| 56 | + * @return \Symfony\Component\Finder\Finder |
|
| 57 | 57 | */ |
| 58 | 58 | private function getFiles($path) |
| 59 | 59 | { |