Completed
Push — 14.x ( 40feb4...4ec391 )
by Tim
02:35
created
src/Observers/AbstractObserver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     /**
68 68
      * Return's the observer's subject instance.
69 69
      *
70
-     * @return object The observer's subject instance
70
+     * @return SubjectInterface The observer's subject instance
71 71
      */
72 72
     public function getSubject()
73 73
     {
Please login to merge, or discard this patch.
src/Adapter/LeagueFilesystemAdapter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      *
83 83
      * @param string $filename Path to the file
84 84
      *
85
-     * @return TRUE if the filename exists and is a directory, else FALSE
85
+     * @return boolean if the filename exists and is a directory, else FALSE
86 86
      */
87 87
     public function isDir($filename)
88 88
     {
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      * @param string $filename The name of the file to write the data to
121 121
      * @param string $data     The data to write to the file
122 122
      *
123
-     * @return number The number of bytes written to the file
123
+     * @return boolean The number of bytes written to the file
124 124
      */
125 125
     public function write($filename, $data)
126 126
     {
Please login to merge, or discard this patch.
src/Adapter/PhpFilesystemAdapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      *
65 65
      * @param string $filename Path to the file
66 66
      *
67
-     * @return TRUE if the filename exists and is a directory, else FALSE
67
+     * @return boolean if the filename exists and is a directory, else FALSE
68 68
      * @link http://php.net/is_dir
69 69
      */
70 70
     public function isDir($filename)
Please login to merge, or discard this patch.
src/Subjects/AbstractSubject.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -827,7 +827,7 @@  discard block
 block discarded – undo
827 827
     /**
828 828
      * Return's the default store view code.
829 829
      *
830
-     * @return array The default store view code
830
+     * @return string|null The default store view code
831 831
      */
832 832
     public function getDefaultStoreViewCode()
833 833
     {
@@ -1079,7 +1079,7 @@  discard block
 block discarded – undo
1079 1079
     /**
1080 1080
      * Return's the original data if available, or an empty array.
1081 1081
      *
1082
-     * @return array The original data
1082
+     * @return string The original data
1083 1083
      */
1084 1084
     public function getOriginalData()
1085 1085
     {
@@ -1170,7 +1170,7 @@  discard block
 block discarded – undo
1170 1170
      *
1171 1171
      * @param string $message The message to strip the exception suffix from
1172 1172
      *
1173
-     * @return mixed The message without the exception suffix
1173
+     * @return string The message without the exception suffix
1174 1174
      */
1175 1175
     public function stripExceptionSuffix($message)
1176 1176
     {
Please login to merge, or discard this patch.
src/RowTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
      * @param mixed|null    $default  The default value, that has to be returned, if the row's value is empty
107 107
      * @param callable|null $callback The callback that has to be invoked on the value, e. g. to format it
108 108
      *
109
-     * @return mixed|null The, almost formatted, value
109
+     * @return string The, almost formatted, value
110 110
      */
111 111
     public function getValue($name, $default = null, callable $callback = null)
112 112
     {
Please login to merge, or discard this patch.
src/Subjects/FileUploadTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@
 block discarded – undo
204 204
      *
205 205
      * @param string $filename The name of the file to be deleted
206 206
      *
207
-     * @return boolean TRUE on success, else FALSE
207
+     * @return boolean|null TRUE on success, else FALSE
208 208
      */
209 209
     public function deleteFile($filename)
210 210
     {
Please login to merge, or discard this patch.
src/Services/ImportProcessor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -281,7 +281,7 @@
 block discarded – undo
281 281
      * Commits a transaction, returning the database connection to autocommit mode until the next call to
282 282
      * ProductProcessor::beginTransaction() starts a new transaction.
283 283
      *
284
-     * @return boolean Returns TRUE on success or FALSE on failure
284
+     * @return boolean|null Returns TRUE on success or FALSE on failure
285 285
      * @link http://php.net/manual/en/pdo.commit.php
286 286
      */
287 287
     public function commit()
Please login to merge, or discard this patch.
src/Events/EmitterFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     /**
75 75
      * The factory method that creates a new emitter instance.
76 76
      *
77
-     * @return void
77
+     * @return EmitterInterface
78 78
      */
79 79
     public function createEmitter()
80 80
     {
Please login to merge, or discard this patch.
src/Cache/ConfigurableCacheAdapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
     /**
153 153
      * Invalidate the cache entries for the passed tags.
154 154
      *
155
-     * @param array $tags The tags to invalidate the cache for
155
+     * @param string $tags The tags to invalidate the cache for
156 156
      *
157 157
      * @return void
158 158
      */
Please login to merge, or discard this patch.