Completed
Push — master ( deca00...5388ff )
by Sam
24s
created
src/Forms/HiddenField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
     /**
14 14
      * @param array $properties
15
-     * @return string
15
+     * @return \SilverStripe\ORM\FieldType\DBHTMLText
16 16
      */
17 17
     public function FieldHolder($properties = array())
18 18
     {
Please login to merge, or discard this patch.
src/Forms/HTMLEditor/EmbedShortcodeProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * Gets the list of shortcodes provided by this handler
19 19
      *
20
-     * @return mixed
20
+     * @return string[]
21 21
      */
22 22
     public static function get_shortcodes()
23 23
     {
Please login to merge, or discard this patch.
src/Forms/HTMLEditor/HTMLEditorConfig.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -148,14 +148,14 @@
 block discarded – undo
148 148
      * Get the current value of an option
149 149
      *
150 150
      * @param string $key The key of the option to get
151
-     * @return mixed The value of the specified option
151
+     * @return string The value of the specified option
152 152
      */
153 153
     abstract public function getOption($key);
154 154
 
155 155
     /**
156 156
      * Set the value of one option
157 157
      * @param string $key The key of the option to set
158
-     * @param mixed $value The value of the option to set
158
+     * @param string $value The value of the option to set
159 159
      * @return $this
160 160
      */
161 161
     abstract public function setOption($key, $value);
Please login to merge, or discard this patch.
src/Forms/HTMLEditor/HTMLEditorField_Embed.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
     }
143 143
 
144 144
     /**
145
-     * @return AdapterInterface
145
+     * @return Embed
146 146
      */
147 147
     public function getEmbed()
148 148
     {
Please login to merge, or discard this patch.
src/Forms/HTMLEditor/HTMLEditorField_Toolbar.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,6 +67,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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()
Please login to merge, or discard this patch.
src/Forms/HTMLEditor/HTMLEditorSanitiser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Forms/ListboxField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Forms/LookupField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Forms/PrintableTransformation_TabSet.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.