Failed Conditions
Pull Request — develop (#6)
by Carlo
02:55
created
magefix/src/Magefix/Fixtures/RegistryEntryMatcher.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * @param string $hook
19 19
      * @param string $key
20
-     * @return array
20
+     * @return string[]
21 21
      */
22 22
     public static function match($hook, $key)
23 23
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Magefix\Fixtures;
4 4
 
5 5
 
6
-use Magefix\Fixture\Factory\Builder;
7 6
 use Magefix\Magento\Model\Mapper;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
magefix/src/Magefix/Fixtures/RegistryIterator.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     }
58 58
 
59 59
     /**
60
-     * @param                          $model
60
+     * @param                          null|Mage_Core_Model_Abstract $model
61 61
      * @param string                   $fixtureType
62 62
      * @param                          $entry
63 63
      * @param                          $key
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     }
100 100
 
101 101
     /**
102
-     * @param array $entryMatch
102
+     * @param string[] $entryMatch
103 103
      * @param       $entry
104 104
      * @param       $key
105 105
      *
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     }
118 118
 
119 119
     /**
120
-     * @param $mageModel
120
+     * @param null|Mage_Core_Model_Abstract $mageModel
121 121
      *
122 122
      * @return bool
123 123
      *
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     /**
131 131
      * @param array $entryMatch
132 132
      *
133
-     * @return array
133
+     * @return null|Mage_Core_Model_Abstract
134 134
      * @throws \Exception
135 135
      *
136 136
      */
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      */
54 54
     public function isEntryMatch($hook, $key)
55 55
     {
56
-       return RegistryEntryMatcher::match($hook, $key);
56
+        return RegistryEntryMatcher::match($hook, $key);
57 57
     }
58 58
 
59 59
     /**
Please login to merge, or discard this patch.
magefix/src/Magefix/Magento/Model/Mapper.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: ctasca
5
- * Date: 08/01/2016
6
- * Time: 15:45
7
- */
3
+     * Created by PhpStorm.
4
+     * User: ctasca
5
+     * Date: 08/01/2016
6
+     * Time: 15:45
7
+     */
8 8
 
9 9
 namespace Magefix\Magento\Model;
10 10
 
Please login to merge, or discard this patch.