@@ -30,6 +30,9 @@ |
||
| 30 | 30 | */ |
| 31 | 31 | protected $cacheTemplate; |
| 32 | 32 | |
| 33 | + /** |
|
| 34 | + * @param string $content |
|
| 35 | + */ |
|
| 33 | 36 | public function __construct($content, TemplateParser $parser = null) |
| 34 | 37 | { |
| 35 | 38 | if ($parser) { |
@@ -276,6 +276,9 @@ discard block |
||
| 276 | 276 | |
| 277 | 277 | private static $method_from_cache = array(); |
| 278 | 278 | |
| 279 | + /** |
|
| 280 | + * @param string $method |
|
| 281 | + */ |
|
| 279 | 282 | public static function has_method_from($class, $method, $compclass) { |
| 280 | 283 | $lClass = strtolower($class); |
| 281 | 284 | $lMethod = strtolower($method); |
@@ -298,6 +301,8 @@ discard block |
||
| 298 | 301 | |
| 299 | 302 | /** |
| 300 | 303 | * @deprecated 4.0..5.0 |
| 304 | + * @param string $candidateClass |
|
| 305 | + * @param string $fieldName |
|
| 301 | 306 | */ |
| 302 | 307 | public static function table_for_object_field($candidateClass, $fieldName) { |
| 303 | 308 | Deprecation::notice('5.0', 'Use DataObject::getSchema()->tableForField()'); |