Skip to content

$field parameter as string at Forge::addField #1474

Description

@dasua

name: Bug report
about: Help us improve the framework by reporting bugs!


Direction
We use github issues to track bugs, not for support.
If you have a support question, or a feature request, raise these as threads on our
forum.

Describe the bug
Documentation of parameter field is wrong because don't says is can be string:

* @param array $field

CodeIgniter 4 version
4.0.0-alpha.2.

Affected module(s)
class: CodeIgniter\Database\Forge
method: addField

Expected behavior, and steps to reproduce if appropriate
/**
* Add Field
*
* @PARAM array|string $field
*
* @return Forge
*/

Context

  • OS: Linux 4.14.79-1-MANJARO
  • Web server [e.g. Apache 2.4]
  • PHP version [7.2.11]
  • PhpStorm [2018.2.5]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions