Skip to content
Snippets Groups Projects
Commit 2b0bd657 authored by Loek van der Linde's avatar Loek van der Linde Committed by Nikita Popov
Browse files

Update 2_Usage_of_basic_components.markdown (#494)

parent 81b7be3b
No related merge requests found
......@@ -409,7 +409,7 @@ $files = new \RegexIterator($files, '/\.php$/');
foreach ($files as $file) {
try {
// read the file that should be converted
$code = file_get_contents($file);
$code = file_get_contents($file->getPathName());
// parse
$stmts = $parser->parse($code);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment