Completed
Pull Request — master (#100)
by Tim
02:39
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/Subjects/AbstractSubject.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1090,7 +1090,7 @@  discard block
 block discarded – undo
1090 1090
     /**
1091 1091
      * Return's the original data if available, or an empty array.
1092 1092
      *
1093
-     * @return array The original data
1093
+     * @return string The original data
1094 1094
      */
1095 1095
     public function getOriginalData()
1096 1096
     {
@@ -1181,7 +1181,7 @@  discard block
 block discarded – undo
1181 1181
      *
1182 1182
      * @param string $message The message to strip the exception suffix from
1183 1183
      *
1184
-     * @return mixed The message without the exception suffix
1184
+     * @return string The message without the exception suffix
1185 1185
      */
1186 1186
     public function stripExceptionSuffix($message)
1187 1187
     {
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.