Completed
Pull Request — master (#6930)
by Daniel
08:40
created
src/ORM/Connect/DBSchemaManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
      *   - array('fields' => array('A','B','C'), 'type' => 'index/unique/fulltext'): This gives you full
332 332
      *     control over the index.
333 333
      * @param boolean $hasAutoIncPK A flag indicating that the primary key on this table is an autoincrement type
334
-     * @param array $options Create table options (ENGINE, etc.)
334
+     * @param string|null $options Create table options (ENGINE, etc.)
335 335
      * @param array|bool $extensions List of extensions
336 336
      */
337 337
     public function requireTable(
@@ -595,7 +595,7 @@  discard block
 block discarded – undo
595 595
      *
596 596
      * @param string $table The table name.
597 597
      * @param string $field The field name.
598
-     * @param array|string $spec The field specification. If passed in array syntax, the specific database
598
+     * @param string $spec The field specification. If passed in array syntax, the specific database
599 599
      *  driver takes care of the ALTER TABLE syntax. If passed as a string, its assumed to
600 600
      *  be prepared as a direct SQL framgment ready for insertion into ALTER TABLE. In this case you'll
601 601
      *  need to take care of database abstraction in your DBField subclass.
Please login to merge, or discard this patch.
src/ORM/DataObjectSchema.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -488,7 +488,7 @@  discard block
 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
     {
@@ -791,7 +791,7 @@  discard block
 block discarded – undo
791 791
      * @param string $parentClass Parent class name
792 792
      * @param string $component ManyMany name
793 793
      * @param string|array $specification Declaration of many_many relation type
794
-     * @return array
794
+     * @return string[]
795 795
      */
796 796
     protected function parseManyManyComponent($parentClass, $component, $specification)
797 797
     {
Please login to merge, or discard this patch.