@@ -67,6 +67,10 @@ discard block |
||
| 67 | 67 | */ |
| 68 | 68 | protected $name; |
| 69 | 69 | |
| 70 | + /** |
|
| 71 | + * @param Controller|null $controller |
|
| 72 | + * @param string $name |
|
| 73 | + */ |
|
| 70 | 74 | public function __construct($controller, $name) |
| 71 | 75 | { |
| 72 | 76 | parent::__construct(); |
@@ -508,7 +512,7 @@ discard block |
||
| 508 | 512 | /** |
| 509 | 513 | * Find all anchors available on the given page. |
| 510 | 514 | * |
| 511 | - * @return array |
|
| 515 | + * @return string |
|
| 512 | 516 | * @throws HTTPResponse_Exception |
| 513 | 517 | */ |
| 514 | 518 | public function getanchors() |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | /** |
| 53 | 53 | * Given a TinyMCE pattern (close to unix glob style), create a regex that does the match |
| 54 | 54 | * |
| 55 | - * @param $str - The TinyMCE pattern |
|
| 55 | + * @param string|null $str - The TinyMCE pattern |
|
| 56 | 56 | * @return string - The equivalent regex |
| 57 | 57 | */ |
| 58 | 58 | protected function patternToRegex($str) |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | * Returns a <select> tag containing all the appropriate <option> tags |
| 66 | 66 | * |
| 67 | 67 | * @param array $properties |
| 68 | - * @return string |
|
| 68 | + * @return \SilverStripe\ORM\FieldType\DBHTMLText |
|
| 69 | 69 | */ |
| 70 | 70 | public function Field($properties = array()) |
| 71 | 71 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * |
| 29 | 29 | * @param array $properties |
| 30 | 30 | * |
| 31 | - * @return string |
|
| 31 | + * @return \SilverStripe\ORM\FieldType\DBHTMLText |
|
| 32 | 32 | */ |
| 33 | 33 | public function Field($properties = array()) |
| 34 | 34 | { |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | class PrintableTransformation_TabSet extends TabSet |
| 9 | 9 | { |
| 10 | 10 | /** |
| 11 | - * @param array $tabs |
|
| 11 | + * @param FieldList $tabs |
|
| 12 | 12 | */ |
| 13 | 13 | public function __construct($tabs) |
| 14 | 14 | { |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | /** |
| 82 | - * @return string |
|
| 82 | + * @return \SilverStripe\ORM\FieldType\DBHTMLText |
|
| 83 | 83 | */ |
| 84 | 84 | public function InternallyLabelledField() |
| 85 | 85 | { |
@@ -178,7 +178,7 @@ |
||
| 178 | 178 | * |
| 179 | 179 | * Actually only one array argument is supported. |
| 180 | 180 | * |
| 181 | - * @param $f callback to apply |
|
| 181 | + * @param string $f callback to apply |
|
| 182 | 182 | * @param $array array |
| 183 | 183 | * @return array |
| 184 | 184 | */ |
@@ -745,7 +745,7 @@ |
||
| 745 | 745 | /** |
| 746 | 746 | * Returns item stored in list with index $key |
| 747 | 747 | * |
| 748 | - * @param mixed $offset |
|
| 748 | + * @param integer $offset |
|
| 749 | 749 | * @return DataObject |
| 750 | 750 | */ |
| 751 | 751 | public function offsetGet($offset) |
@@ -768,7 +768,7 @@ |
||
| 768 | 768 | * @param boolean $create Flag indicating whether the database should be created |
| 769 | 769 | * if it doesn't exist. If $create is false and the database doesn't exist |
| 770 | 770 | * then an error will be raised |
| 771 | - * @param int|boolean $errorLevel The level of error reporting to enable for the query, or false if no error |
|
| 771 | + * @param boolean $errorLevel The level of error reporting to enable for the query, or false if no error |
|
| 772 | 772 | * should be raised |
| 773 | 773 | * @return boolean Flag indicating success |
| 774 | 774 | */ |