Completed
Pull Request — master (#6969)
by Damian
09:05
created
src/ORM/DataObjectSchema.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -488,7 +488,7 @@
 block discarded – undo
488 488
      * Cache all indexes for the given class.
489 489
      * Will do nothing if already cached
490 490
      *
491
-     * @param $class
491
+     * @param string $class
492 492
      */
493 493
     protected function cacheDatabaseIndexes($class)
494 494
     {
Please login to merge, or discard this patch.
src/Forms/HTMLEditor/HTMLEditorField.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * Assign a new configuration instance or identifier
81 81
      *
82
-     * @param string|HTMLEditorConfig $config
82
+     * @param string $config
83 83
      * @return $this
84 84
      */
85 85
     public function setEditorConfig($config)
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      *
95 95
      * @param string $name The internal field name, passed to forms.
96 96
      * @param string $title The human-readable field label.
97
-     * @param mixed $value The value of the field.
97
+     * @param integer $value The value of the field.
98 98
      * @param string $config HTMLEditorConfig identifier to be used. Default to the active one.
99 99
      */
100 100
     public function __construct($name, $title = null, $value = '', $config = null)
@@ -142,6 +142,9 @@  discard block
 block discarded – undo
142 142
         $record->{$this->name} = $htmlValue->getContent();
143 143
     }
144 144
 
145
+    /**
146
+     * @param string|null $value
147
+     */
145 148
     public function setValue($value, $data = null)
146 149
     {
147 150
         // Regenerate links prior to preview, so that the editor can see them.
@@ -150,7 +153,7 @@  discard block
 block discarded – undo
150 153
     }
151 154
 
152 155
     /**
153
-     * @return HTMLEditorField_Readonly
156
+     * @return \SilverStripe\Forms\FormField
154 157
      */
155 158
     public function performReadonlyTransformation()
156 159
     {
Please login to merge, or discard this patch.