Completed
Pull Request — master (#7083)
by Sam
07:25
created
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.
src/Forms/TextField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-     * @return string
82
+     * @return \SilverStripe\ORM\FieldType\DBHTMLText
83 83
      */
84 84
     public function InternallyLabelledField()
85 85
     {
Please login to merge, or discard this patch.
src/ORM/ArrayLib.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
      *
179 179
      * Actually only one array argument is supported.
180 180
      *
181
-     * @param $f callback to apply
181
+     * @param string $f callback to apply
182 182
      * @param $array array
183 183
      * @return array
184 184
      */
Please login to merge, or discard this patch.
src/ORM/ArrayList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -745,7 +745,7 @@
 block discarded – undo
745 745
     /**
746 746
      * Returns item stored in list with index $key
747 747
      *
748
-     * @param mixed $offset
748
+     * @param integer $offset
749 749
      * @return DataObject
750 750
      */
751 751
     public function offsetGet($offset)
Please login to merge, or discard this patch.
src/ORM/Connect/Database.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -768,7 +768,7 @@
 block discarded – undo
768 768
      * @param boolean $create Flag indicating whether the database should be created
769 769
      * if it doesn't exist. If $create is false and the database doesn't exist
770 770
      * then an error will be raised
771
-     * @param int|boolean $errorLevel The level of error reporting to enable for the query, or false if no error
771
+     * @param boolean $errorLevel The level of error reporting to enable for the query, or false if no error
772 772
      * should be raised
773 773
      * @return boolean Flag indicating success
774 774
      */
Please login to merge, or discard this patch.
src/ORM/Connect/MySQLSchemaManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -129,6 +129,9 @@
 block discarded – undo
129 129
         $this->query("ALTER TABLE \"$tableName\" $alterations");
130 130
     }
131 131
 
132
+    /**
133
+     * @param string $tableName
134
+     */
132 135
     public function isView($tableName)
133 136
     {
134 137
         $info = $this->query("SHOW /*!50002 FULL*/ TABLES LIKE '$tableName'")->record();
Please login to merge, or discard this patch.
src/ORM/DatabaseAdmin.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     /**
144 144
      * Gets the url to return to after build
145 145
      *
146
-     * @return string|null
146
+     * @return string
147 147
      */
148 148
     protected function getReturnURL()
149 149
     {
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
     /**
176 176
      * Returns the timestamp of the time that the database was last built
177 177
      *
178
-     * @return string Returns the timestamp of the time that the database was
178
+     * @return integer|null Returns the timestamp of the time that the database was
179 179
      *                last built
180 180
      */
181 181
     public static function lastBuilt()
Please login to merge, or discard this patch.
src/ORM/FieldType/DBClassName.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -171,6 +171,9 @@
 block discarded – undo
171 171
         return $classNames;
172 172
     }
173 173
 
174
+    /**
175
+     * @param \SilverStripe\ORM\Tests\DBClassNameTest\ObjectSubClass $record
176
+     */
174 177
     public function setValue($value, $record = null, $markChanged = true)
175 178
     {
176 179
         parent::setValue($value, $record, $markChanged);
Please login to merge, or discard this patch.