mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-25 04:09:11 -04:00
ALPHA 3.0.2
This commit is contained in:
@@ -28,9 +28,7 @@ use NunoMaduro\Collision\Contracts\Adapters\Phpunit\Listener as ListenerContract
|
||||
class CollisionServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Indicates if loading of the provider is deferred.
|
||||
*
|
||||
* @var bool
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected $defer = true;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of PhpStorm.
|
||||
* This file is part of Collision.
|
||||
*
|
||||
* (c) Nuno Maduro <enunomaduro@gmail.com>
|
||||
*
|
||||
|
||||
@@ -40,7 +40,7 @@ class Highlighter extends BaseHighlighter implements HighlighterContract
|
||||
/**
|
||||
* Creates an instance of the Highlighter.
|
||||
*
|
||||
* @param \JakubOnderka\PhpConsoleHighlighter\ConsoleColor|null $color
|
||||
* @param \JakubOnderka\PhpConsoleColor\ConsoleColor|null $color
|
||||
*/
|
||||
public function __construct(ConsoleColor $color = null)
|
||||
{
|
||||
|
||||
2
vendor/nunomaduro/collision/src/Provider.php
vendored
2
vendor/nunomaduro/collision/src/Provider.php
vendored
@@ -33,7 +33,7 @@ class Provider implements ProviderContract
|
||||
/**
|
||||
* Holds an instance of the handler.
|
||||
*
|
||||
* @var \Whoops\Handler\HandlerInterface
|
||||
* @var \NunoMaduro\Collision\Contracts\Handler
|
||||
*/
|
||||
protected $handler;
|
||||
|
||||
|
||||
2
vendor/nunomaduro/collision/src/Writer.php
vendored
2
vendor/nunomaduro/collision/src/Writer.php
vendored
@@ -214,7 +214,7 @@ class Writer implements WriterContract
|
||||
{
|
||||
$this->render('at <fg=green>'.$frame->getFile().'</>'.':<fg=green>'.$frame->getLine().'</>');
|
||||
|
||||
$content = $this->highlighter->highlight($frame->getFileContents(), (int) $frame->getLine());
|
||||
$content = $this->highlighter->highlight((string) $frame->getFileContents(), (int) $frame->getLine());
|
||||
|
||||
$this->output->writeln($content);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user