@@ -107,7 +107,7 @@ |
||
107 | 107 | /** |
108 | 108 | * Used for preview controls, mainly links which switch between different states of the page. |
109 | 109 | * |
110 | - * @return ArrayData |
|
110 | + * @return SilverStripe\Model\FieldType\DBField |
|
111 | 111 | */ |
112 | 112 | public function getSilverStripeNavigator() |
113 | 113 | { |
@@ -54,6 +54,9 @@ discard block |
||
54 | 54 | $this->requireFile(BASE_PATH . '/themes/' . $theme . '/templates/' . $template, $content); |
55 | 55 | } |
56 | 56 | |
57 | + /** |
|
58 | + * @param string $filename |
|
59 | + */ |
|
57 | 60 | protected function requireFile($filename, $content) |
58 | 61 | { |
59 | 62 | // Already exists |
@@ -71,6 +74,9 @@ discard block |
||
71 | 74 | } |
72 | 75 | } |
73 | 76 | |
77 | + /** |
|
78 | + * @param string $dirname |
|
79 | + */ |
|
74 | 80 | protected function requireDir($dirname) |
75 | 81 | { |
76 | 82 | // Directory doesn't exist, create it and mark it for deletion |