Skip to content

Commit 80b3711

Browse files
authored
Merge pull request dotninth#2 from ideal-creative-lab/feature/dev-298
Remove debug echo statement in CollapseWhitespace.php
2 parents c89be63 + 74d6a24 commit 80b3711

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Middleware/CollapseWhitespace.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ protected function findSkippedElements(string $buffer): void
8686
{
8787
foreach ($this->ignoreElements as $element) {
8888
$pattern = '/<[^>]*?data-tachyon-ignore[^>]*>(.*?)<\/[^>]*>|<' . $element . '[^>]*>(.*)<\/' . $element . '>/Uuis';
89-
echo $pattern . PHP_EOL;
9089
if (preg_match_all($pattern, $buffer, $matches, PREG_SET_ORDER)) {
9190
foreach ($matches as $match) {
9291
$this->addSkippedElement($match[1]);

src/ServiceProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ class ServiceProvider extends BaseServiceProvider
1313
*
1414
* @var bool
1515
*/
16-
protected $defer = false;
16+
protected bool $defer = false;
1717

1818
/**
1919
* Bootstrap the application events.
2020
*/
21-
public function boot()
21+
public function boot(): void
2222
{
2323
$this->publishes([
2424
__DIR__ . '/../config/laravel-tachyon.php' => config_path('laravel-tachyon.php'),
@@ -28,7 +28,7 @@ public function boot()
2828
/**
2929
* Register the service provider.
3030
*/
31-
public function register()
31+
public function register(): void
3232
{
3333
$this->mergeConfigFrom(__DIR__ . '/../config/laravel-tachyon.php', 'laravel-tachyon.php');
3434
}

0 commit comments

Comments
 (0)