Completed
Push — master ( 3e92b9...3c4b6a )
by Damian
12s
created
features/bootstrap/SilverStripe/SiteConfig/Test/Behaviour/ThemeContext.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -54,6 +54,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
code/SiteConfig.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -242,7 +242,7 @@
 block discarded – undo
242 242
      * Can a user view this SiteConfig instance?
243 243
      *
244 244
      * @param Member $member
245
-     * @return boolean
245
+     * @return boolean|string
246 246
      */
247 247
     public function canView($member = null)
248 248
     {
Please login to merge, or discard this patch.
code/SiteConfigLeftAndMain.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
 	 *
135 135
 	 * @param array $data
136 136
 	 * @param Form $form
137
-	 * @return String
137
+	 * @return \SilverStripe\ORM\FieldType\DBHTMLText
138 138
 	 */
139 139
     public function save_siteconfig($data, $form)
140 140
     {
Please login to merge, or discard this patch.