Completed
Pull Request — master (#101)
by Tim
05:15
created
src/Callbacks/AbstractMultiselectCallback.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      *
43 43
      * @param \TechDivision\Import\Observers\ObserverInterface $observer The observer
44 44
      *
45
-     * @return mixed The modified value
45
+     * @return null|string The modified value
46 46
      */
47 47
     public function handle(AttributeCodeAndValueAwareObserverInterface $observer)
48 48
     {
Please login to merge, or discard this patch.
src/Services/ImportProcessor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
      * Commits a transaction, returning the database connection to autocommit mode until the next call to
238 238
      * ProductProcessor::beginTransaction() starts a new transaction.
239 239
      *
240
-     * @return boolean Returns TRUE on success or FALSE on failure
240
+     * @return boolean|null Returns TRUE on success or FALSE on failure
241 241
      * @link http://php.net/manual/en/pdo.commit.php
242 242
      */
243 243
     public function commit()
@@ -520,7 +520,7 @@  discard block
 block discarded – undo
520 520
     /**
521 521
      * Return's the repository to access link attributes.
522 522
      *
523
-     * @return \TechDivision\Import\Repositories\LinkTypeRepository The repository instance
523
+     * @return LinkAttributeRepository The repository instance
524 524
      */
525 525
     public function getLinkAttributeRepository()
526 526
     {
Please login to merge, or discard this patch.
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.