Skip to content

Commit 43566f1

Browse files
committed
php-cs-fixer
Signed-off-by: Jack Cherng <[email protected]>
1 parent be70f5e commit 43566f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/demo.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<head>
1111
<meta charset="UTF-8" />
1212
<title>jfcherng/php-diff - Examples</title>
13-
<style><?= DiffHelper::getStyleSheet() ?></style>
13+
<style><?php echo DiffHelper::getStyleSheet(); ?></style>
1414
</head>
1515
<body>
1616
<?php

src/DiffHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public static function getProjectDirectory(): string
2525
{
2626
static $path;
2727

28-
return $path = $path ?? realpath(__DIR__ . '/..');
28+
return $path = $path ?? \realpath(__DIR__ . '/..');
2929
}
3030

3131
/**

0 commit comments

Comments
 (0)