@@ -369,7 +369,7 @@ |
||
369 | 369 | * |
370 | 370 | * @param string $method the method name to call |
371 | 371 | * @param mixed $a1 |
372 | - * @param mixed $a2 |
|
372 | + * @param string $a2 |
|
373 | 373 | * @param mixed $a3 |
374 | 374 | * @param mixed $a4 |
375 | 375 | * @param mixed $a5 |
@@ -135,6 +135,7 @@ discard block |
||
135 | 135 | |
136 | 136 | /** |
137 | 137 | * Set the manifest to be used to look up test classes by helper functions |
138 | + * @param SS_ClassManifest $manifest |
|
138 | 139 | */ |
139 | 140 | public static function set_test_class_manifest($manifest) { |
140 | 141 | self::$test_class_manifest = $manifest; |
@@ -418,7 +419,7 @@ discard block |
||
418 | 419 | * Will collate all IDs form all fixtures if multiple fixtures are provided. |
419 | 420 | * |
420 | 421 | * @param string $className |
421 | - * @return array A map of fixture-identifier => object-id |
|
422 | + * @return A A map of fixture-identifier => object-id |
|
422 | 423 | */ |
423 | 424 | protected function allFixtureIDs($className) { |
424 | 425 | return $this->getFixtureFactory()->getIds($className); |
@@ -578,7 +579,7 @@ discard block |
||
578 | 579 | /** |
579 | 580 | * Assert that the matching email was sent since the last call to clearEmails() |
580 | 581 | * All of the parameters can either be a string, or, if they start with "/", a PREG-compatible regular expression. |
581 | - * @param $to |
|
582 | + * @param string $to |
|
582 | 583 | * @param $from |
583 | 584 | * @param $subject |
584 | 585 | * @param $content |
@@ -742,7 +743,7 @@ discard block |
||
742 | 743 | * @param string $expectedSQL |
743 | 744 | * @param string $actualSQL |
744 | 745 | * @param string $message |
745 | - * @param float $delta |
|
746 | + * @param integer $delta |
|
746 | 747 | * @param integer $maxDepth |
747 | 748 | * @param boolean $canonicalize |
748 | 749 | * @param boolean $ignoreCase |
@@ -971,6 +972,7 @@ discard block |
||
971 | 972 | /** |
972 | 973 | * Create a member and group with the given permission code, and log in with it. |
973 | 974 | * Returns the member ID. |
975 | + * @return integer |
|
974 | 976 | */ |
975 | 977 | public function logInWithPermission($permCode = "ADMIN") { |
976 | 978 | if(!isset($this->cache_generatedMembers[$permCode])) { |
@@ -1010,9 +1012,9 @@ discard block |
||
1010 | 1012 | /** |
1011 | 1013 | * Test against a theme. |
1012 | 1014 | * |
1013 | - * @param $themeBaseDir string - themes directory |
|
1014 | - * @param $theme string - theme name |
|
1015 | - * @param $callback Closure |
|
1015 | + * @param string $themeBaseDir string - themes directory |
|
1016 | + * @param string $theme string - theme name |
|
1017 | + * @param Closure $callback Closure |
|
1016 | 1018 | */ |
1017 | 1019 | protected function useTestTheme($themeBaseDir, $theme, $callback) { |
1018 | 1020 | Config::nest(); |