@@ -17,7 +17,7 @@ |
||
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 | { |
@@ -3,7 +3,6 @@ |
||
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 | /** |
@@ -57,7 +57,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 | */ |
@@ -53,7 +53,7 @@ |
||
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 | /** |
@@ -1,10 +1,10 @@ |
||
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 |