Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

Commit

Permalink
Cleared leftovers array type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
Eihen committed Nov 20, 2017
1 parent a060dee commit 284cda7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/DatabaseProcessors/DatabaseProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function password($password)
*
* @return $this
*/
public function dbArgs(array $dbArgs)
public function dbArgs($dbArgs)
{
if (isset($dbArgs['host'])) {
$this->host($dbArgs['host']);
Expand Down
4 changes: 2 additions & 2 deletions src/FileProcessors/CsvProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function column($column)
*
* @return $this
*/
public function columns(array $columns)
public function columns($columns)
{
$this->columns = array_merge($this->columns, $columns);
return $this;
Expand Down Expand Up @@ -120,7 +120,7 @@ public function charset($charset)
*
* @throws \Exception
*/
public function process($input, array $formats)
public function process($input, $formats)
{
if (count($this->columns) > 0) {
$this->args['csvColumns'] = '--csv-columns '
Expand Down
2 changes: 1 addition & 1 deletion src/JasperBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function locale($locale)
*
* @return string
*/
protected static function validateInput($input, array $acceptedFormats)
protected static function validateInput($input, $acceptedFormats)
{
if (empty($input)) {
throw new \InvalidArgumentException('Input file not defined.');
Expand Down
6 changes: 3 additions & 3 deletions src/Processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function param($key, $value)
*
* @return $this
*/
public function params(array $params)
public function params($params)
{
$this->params = array_merge($this->params, $params);

Expand Down Expand Up @@ -134,7 +134,7 @@ public function charset($charset)
*
* @throws \Exception
*/
public function process($input, array $formats)
public function process($input, $formats)
{
$input = static::validateInput($input);

Expand Down Expand Up @@ -171,7 +171,7 @@ public function process($input, array $formats)
*
* @return string
*/
protected static function validateInput($input, array $acceptedFormats = self::VALID_INPUTS)
protected static function validateInput($input, $acceptedFormats = self::VALID_INPUTS)
{
return parent::validateInput($input, $acceptedFormats);
}
Expand Down

0 comments on commit 284cda7

Please sign in to comment.