@@ -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; |
@@ -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; |
@@ -294,7 +294,7 @@ |
||
| 294 | 294 | * |
| 295 | 295 | * @param integer $id Contact id |
| 296 | 296 | * |
| 297 | - * @return object |
|
| 297 | + * @return Contact |
|
| 298 | 298 | */ |
| 299 | 299 | function getContact($id) |
| 300 | 300 | { |
@@ -47,6 +47,10 @@ |
||
| 47 | 47 | return $this->render(); |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | + /** |
|
| 51 | + * @param string $username |
|
| 52 | + * @param string $password |
|
| 53 | + */ |
|
| 50 | 54 | protected function selectUser($username, $password) |
| 51 | 55 | { |
| 52 | 56 | $adapter = new Intraface_Auth_User($this->mdb2, $this->session()->sessionId(), $username, $password); |
@@ -58,6 +58,7 @@ |
||
| 58 | 58 | /** |
| 59 | 59 | * This function is dynamically redefinable. |
| 60 | 60 | * @see $GLOBALS['_global_function_callback_email'] |
| 61 | + * @param string $args |
|
| 61 | 62 | */ |
| 62 | 63 | function autoop($args) |
| 63 | 64 | { |
@@ -6,6 +6,9 @@ discard block |
||
| 6 | 6 | |
| 7 | 7 | interface Observer |
| 8 | 8 | { |
| 9 | + /** |
|
| 10 | + * @return boolean |
|
| 11 | + */ |
|
| 9 | 12 | function update($code, $msg); |
| 10 | 13 | } |
| 11 | 14 | |
@@ -47,6 +50,9 @@ discard block |
||
| 47 | 50 | } |
| 48 | 51 | } |
| 49 | 52 | |
| 53 | + /** |
|
| 54 | + * @param string $table |
|
| 55 | + */ |
|
| 50 | 56 | function tableExists($table) |
| 51 | 57 | { |
| 52 | 58 | $this->db->loadModule('Manager', null, true); |