Skip to content

Fix PHP Doc Blocks #150

@DarkMukke

Description

@DarkMukke

There seem to be many PHP Doc block incorrectly defined.

Eg :

class QueryBuilderHandler
{
   ...
    /**
     * @var null|PDOStatement
     */
    protected $pdoStatement = null;

    ...
    /**
     * @param $tables Single table or multiple tables as an array or as
     *                multiple parameters
     *
     * @return static
     */
    public function table($tables)
    {

needs to be

class QueryBuilderHandler
{
   ...
    /**
     * @var null|\PDOStatement
     */
    protected $pdoStatement = null;

    ...
    /**
     * @param string|array $tables Single table or multiple tables as an array or as
     *                multiple parameters
     *
     * @return static
     */
    public function table($tables)
    {

on a side note, in php 5.6 we should use splat vs func_get_args

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions