Skip to content

PHP function splat arguments #317

@TerraTech

Description

@TerraTech

Please add support for PHP splat arguments to function:
From:

	 * @param string $tables [description]

To:

	/**
	 * Performs a READ Lock on given tables
	 * @param string ...$tables [description]
	 */
	public function RLock(string ...$tables): void {

As an aside and just thinking aloud. Should the 'void' be registered as a '@return void'? I would surmise the non-existence of '@return' would be sufficient to denote voidness. I guess it comes down to personal preference whether implicit or explicit.

TIA!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions