Skip to content

Commit f8ff3ca

Browse files
committed
formatting
1 parent cb523c7 commit f8ff3ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/View/Compilers/Concerns/CompilesComponents.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected function compileComponent($expression)
3030
$hash = static::newComponentHash($component);
3131

3232
if (Str::contains($component, ['::class', '\\'])) {
33-
return static::compileClassComponentOpening($component, $data, $hash, $alias);
33+
return static::compileClassComponentOpening($component, $alias, $data, $hash);
3434
}
3535

3636
return "<?php \$__env->startComponent{$expression}; ?>";
@@ -58,7 +58,7 @@ public static function newComponentHash(string $component)
5858
* @param string $hash
5959
* @return string
6060
*/
61-
public static function compileClassComponentOpening(string $component, string $data, string $hash, string $alias)
61+
public static function compileClassComponentOpening(string $component, string $alias, string $data, string $hash)
6262
{
6363
return implode("\n", [
6464
'<?php if (isset($component)) { $__componentOriginal'.$hash.' = $component; } ?>',

0 commit comments

Comments
 (0)