Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dasua opened this issue Nov 12, 2018 · 0 comments
Closed

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

dasua opened this issue Nov 12, 2018 · 0 comments

Comments

@dasua
Copy link

dasua commented Nov 12, 2018


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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant