Skip to content

Commit

Permalink
Fix issued caused by CS Fixed
Browse files Browse the repository at this point in the history
It renamed Finder's join() function to implode()…
  • Loading branch information
ilijastuden committed Feb 12, 2016
1 parent 16459c9 commit 4db231a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .php_cs.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
'double_arrow_multiline_whitespaces',
'hash_to_slash_comment',
'include',
'join_function',
'multiline_array_trailing_comma',
'namespace_no_leading_whitespace',
'no_blank_lines_after_class_opening ',
Expand All @@ -47,4 +46,5 @@
'-print_to_echo',
'-concat_without_spaces',
'-empty_return',
'-join_function',
])->finder((new Symfony\CS\Finder\DefaultFinder())->in([__DIR__ . '/src', __DIR__ . '/test']));
2 changes: 1 addition & 1 deletion src/Finder.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function &limit($offset, $limit)
* @param string $field_name
* @return $this
*/
public function &implode($type, $field_name = null)
public function &join($type, $field_name = null)
{
return $this->joinTable($this->pool->getTypeTable($type), $field_name);
}
Expand Down
2 changes: 1 addition & 1 deletion src/FinderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function &limit($offset, $limit);
* @param string $field_name
* @return $this
*/
public function &implode($type, $field_name = null);
public function &join($type, $field_name = null);

/**
* @param string $table_name
Expand Down

0 comments on commit 4db231a

Please sign in to comment.