Completed
Push — symfony3 ( 8912ef...405d0c )
by Kamil
29:17 queued 09:55
created
src/Sylius/Bundle/ThemeBundle/Filesystem/FilesystemInterface.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Loader/CircularDependencyFoundException.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     }
38 38
 
39 39
     /**
40
-     * @param array $themes
40
+     * @param ThemeInterface[] $themes
41 41
      *
42 42
      * @return array
43 43
      */
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
@@ -53,7 +53,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Model/Zone.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
     /**
127 127
      * Returns all zone types available.
128 128
      *
129
-     * @return array of self::TYPE_*
129
+     * @return string[] of self::TYPE_*
130 130
      */
131 131
     public static function getTypes()
132 132
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Resolver/DefaultShippingMethodResolver.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 namespace Sylius\Component\Core\Resolver;
13 13
 
14 14
 use Sylius\Component\Core\Model\ChannelInterface;
15
+use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface;
15 16
 use Sylius\Component\Shipping\Exception\UnresolvedDefaultShippingMethodException;
16 17
 use Sylius\Component\Shipping\Model\ShipmentInterface;
17
-use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface;
18 18
 use Sylius\Component\Shipping\Repository\ShippingMethodRepositoryInterface;
19 19
 use Sylius\Component\Shipping\Resolver\DefaultShippingMethodResolverInterface;
20 20
 use Webmozart\Assert\Assert;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Uploader/ImageUploaderInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -17,11 +17,13 @@
 block discarded – undo
17 17
 {
18 18
     /**
19 19
      * @param ImageInterface $image
20
+     * @return void
20 21
      */
21 22
     public function upload(ImageInterface $image);
22 23
 
23 24
     /**
24 25
      * @param string $path
26
+     * @return boolean
25 27
      */
26 28
     public function remove($path);
27 29
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Mailer/Event/EmailSendEvent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     }
59 59
 
60 60
     /**
61
-     * @return array
61
+     * @return string[]
62 62
      */
63 63
     public function getRecipients()
64 64
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/OrderItemInterface.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * @param int $unitPrice
36
+     * @return void
36 37
      */
37 38
     public function setUnitPrice($unitPrice);
38 39
 
@@ -43,6 +44,7 @@  discard block
 block discarded – undo
43 44
 
44 45
     /**
45 46
      * Recalculate totals. Should be used after every unit change.
47
+     * @return void
46 48
      */
47 49
     public function recalculateUnitsTotal();
48 50
 
@@ -63,6 +65,7 @@  discard block
 block discarded – undo
63 65
 
64 66
     /**
65 67
      * @param bool $immutable
68
+     * @return void
66 69
      */
67 70
     public function setImmutable($immutable);
68 71
 
@@ -80,11 +83,13 @@  discard block
 block discarded – undo
80 83
 
81 84
     /**
82 85
      * @param OrderItemUnitInterface $itemUnit
86
+     * @return void
83 87
      */
84 88
     public function addUnit(OrderItemUnitInterface $itemUnit);
85 89
 
86 90
     /**
87 91
      * @param OrderItemUnitInterface $itemUnit
92
+     * @return void
88 93
      */
89 94
     public function removeUnit(OrderItemUnitInterface $itemUnit);
90 95
 
@@ -97,13 +102,14 @@  discard block
 block discarded – undo
97 102
 
98 103
     /**
99 104
      * @param string|null $type
105
+     * @return void
100 106
      */
101 107
     public function removeAdjustmentsRecursively($type = null);
102 108
 
103 109
     /**
104 110
      * @param string|null $type
105 111
      *
106
-     * @return array
112
+     * @return integer
107 113
      */
108 114
     public function getAdjustmentsTotalRecursively($type = null);
109 115
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/Model/PaymentInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @param null|PaymentMethodInterface $method
42
+     * @return void
42 43
      */
43 44
     public function setMethod(PaymentMethodInterface $method = null);
44 45
 
@@ -49,6 +50,7 @@  discard block
 block discarded – undo
49 50
 
50 51
     /**
51 52
      * @param null|PaymentSourceInterface $source
53
+     * @return void
52 54
      */
53 55
     public function setSource(PaymentSourceInterface $source = null);
54 56
 
@@ -59,6 +61,7 @@  discard block
 block discarded – undo
59 61
 
60 62
     /**
61 63
      * @param string $state
64
+     * @return void
62 65
      */
63 66
     public function setState($state);
64 67
 
@@ -69,6 +72,8 @@  discard block
 block discarded – undo
69 72
 
70 73
     /**
71 74
      * @param string
75
+     * @param string $currencyCode
76
+     * @return void
72 77
      */
73 78
     public function setCurrencyCode($currencyCode);
74 79
 
@@ -79,11 +84,13 @@  discard block
 block discarded – undo
79 84
 
80 85
     /**
81 86
      * @param int $amount
87
+     * @return void
82 88
      */
83 89
     public function setAmount($amount);
84 90
 
85 91
     /**
86 92
      * @param array|\Traversable $details
93
+     * @return void
87 94
      */
88 95
     public function setDetails($details);
89 96
 
Please login to merge, or discard this patch.