@@ -9,6 +9,9 @@ |
||
9 | 9 | public $kernel; |
10 | 10 | public $cmssite; |
11 | 11 | |
12 | + /** |
|
13 | + * @param Stub_Kernel $kernel |
|
14 | + */ |
|
12 | 15 | function __construct($kernel) |
13 | 16 | { |
14 | 17 | $this->kernel = $kernel; |
@@ -52,6 +52,9 @@ |
||
52 | 52 | } |
53 | 53 | } |
54 | 54 | |
55 | + /** |
|
56 | + * @param string $post |
|
57 | + */ |
|
55 | 58 | function createPost($post) |
56 | 59 | { |
57 | 60 | $result = $this->db->exec('INSERT INTO ' . $this->table . ' (name) VALUES ('.$this->db->quote($post, 'text').')'); |
@@ -4,6 +4,9 @@ |
||
4 | 4 | private $id = 1; |
5 | 5 | public $kernel; |
6 | 6 | |
7 | + /** |
|
8 | + * @param FakeContactKernel $kernel |
|
9 | + */ |
|
7 | 10 | function __construct($kernel) |
8 | 11 | { |
9 | 12 | $this->kernel = $kernel; |
@@ -1,4 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | +/** |
|
3 | + * @param string $f |
|
4 | + */ |
|
2 | 5 | function fht_deltree($f) |
3 | 6 | { |
4 | 7 | |
@@ -16,6 +19,9 @@ discard block |
||
16 | 19 | } |
17 | 20 | |
18 | 21 | |
22 | +/** |
|
23 | + * @param string $f |
|
24 | + */ |
|
19 | 25 | function iht_deltree($f) |
20 | 26 | { |
21 | 27 |
@@ -29,6 +29,9 @@ |
||
29 | 29 | return new FileHandler($this->createKernel()); |
30 | 30 | } |
31 | 31 | |
32 | + /** |
|
33 | + * @param string $file |
|
34 | + */ |
|
32 | 35 | function createFile($file) |
33 | 36 | { |
34 | 37 | $data = array('file_name' => $file); |
@@ -36,6 +36,9 @@ discard block |
||
36 | 36 | return new Intraface_modules_product_ProductDoctrine; |
37 | 37 | } |
38 | 38 | |
39 | + /** |
|
40 | + * @param string $name |
|
41 | + */ |
|
39 | 42 | function createProduct($name) |
40 | 43 | { |
41 | 44 | $product = $this->createProductObject(); |
@@ -49,6 +52,10 @@ discard block |
||
49 | 52 | return $product; |
50 | 53 | } |
51 | 54 | |
55 | + /** |
|
56 | + * @param string $group_name |
|
57 | + * @param string[] $attributes |
|
58 | + */ |
|
52 | 59 | public function createAttribute($group_name, $attributes) |
53 | 60 | { |
54 | 61 | $group = new Intraface_modules_product_Attribute_Group; |
@@ -6,6 +6,9 @@ |
||
6 | 6 | |
7 | 7 | private $groups; |
8 | 8 | |
9 | + /** |
|
10 | + * @param integer $groups |
|
11 | + */ |
|
9 | 12 | public function __construct($groups) |
10 | 13 | { |
11 | 14 | $this->groups = $groups; |
@@ -2,6 +2,10 @@ |
||
2 | 2 | class FakeShopEvaluationCoordinator |
3 | 3 | { |
4 | 4 | public $kernel; |
5 | + |
|
6 | + /** |
|
7 | + * @param Stub_Kernel $kernel |
|
8 | + */ |
|
5 | 9 | function __construct($kernel) |
6 | 10 | { |
7 | 11 | $this->kernel = $kernel; |
@@ -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; |