@@ -82,6 +82,9 @@ |
||
82 | 82 | return $this->context->getKernel(); |
83 | 83 | } |
84 | 84 | |
85 | + /** |
|
86 | + * @return integer |
|
87 | + */ |
|
85 | 88 | function getShopId() |
86 | 89 | { |
87 | 90 | if ($this->query('shop_id')) { |
@@ -6,6 +6,10 @@ |
||
6 | 6 | class FakeStockProduct |
7 | 7 | { |
8 | 8 | public $kernel; |
9 | + |
|
10 | + /** |
|
11 | + * @param Stub_Kernel $kernel |
|
12 | + */ |
|
9 | 13 | function __construct($kernel) |
10 | 14 | { |
11 | 15 | $this->kernel = $kernel; |
@@ -1,6 +1,9 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | class MyKeyword extends Keyword |
3 | 3 | { |
4 | + /** |
|
5 | + * @param FakeKeywordObject $object |
|
6 | + */ |
|
4 | 7 | function __construct($object, $id = 0) |
5 | 8 | { |
6 | 9 | parent::__construct($object, $id); |
@@ -113,6 +116,9 @@ discard block |
||
113 | 116 | |
114 | 117 | class MyStringKeyword extends Keyword |
115 | 118 | { |
119 | + /** |
|
120 | + * @param FakeKeywordObject $object |
|
121 | + */ |
|
116 | 122 | function __construct($object, $id = 0) |
117 | 123 | { |
118 | 124 | parent::__construct($object, $id); |
@@ -12,6 +12,10 @@ |
||
12 | 12 | return $this->setting[$type][$setting]; |
13 | 13 | } |
14 | 14 | |
15 | + /** |
|
16 | + * @param string $type |
|
17 | + * @param string $key |
|
18 | + */ |
|
15 | 19 | function set($type, $key, $value) |
16 | 20 | { |
17 | 21 | $this->setting[$type][$key] = $value; |