Skip to content

Commit 4db231a

Browse files
committed
Fix issued caused by CS Fixed
It renamed Finder's join() function to implode()…
1 parent 16459c9 commit 4db231a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.php_cs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
'double_arrow_multiline_whitespaces',
2222
'hash_to_slash_comment',
2323
'include',
24-
'join_function',
2524
'multiline_array_trailing_comma',
2625
'namespace_no_leading_whitespace',
2726
'no_blank_lines_after_class_opening ',
@@ -47,4 +46,5 @@
4746
'-print_to_echo',
4847
'-concat_without_spaces',
4948
'-empty_return',
49+
'-join_function',
5050
])->finder((new Symfony\CS\Finder\DefaultFinder())->in([__DIR__ . '/src', __DIR__ . '/test']));

src/Finder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public function &limit($offset, $limit)
165165
* @param string $field_name
166166
* @return $this
167167
*/
168-
public function &implode($type, $field_name = null)
168+
public function &join($type, $field_name = null)
169169
{
170170
return $this->joinTable($this->pool->getTypeTable($type), $field_name);
171171
}

src/FinderInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function &limit($offset, $limit);
4949
* @param string $field_name
5050
* @return $this
5151
*/
52-
public function &implode($type, $field_name = null);
52+
public function &join($type, $field_name = null);
5353

5454
/**
5555
* @param string $table_name

0 commit comments

Comments
 (0)