Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class Block
protected $id;

/**
* @param null|string $id
* @param null|string $id
* @return static
*/
public static function make($id = null)
Expand All @@ -98,7 +98,7 @@ public static function make($id = null)
}

/**
* @param null|string $id
* @param null|string $id
*/
public function __construct($id = null)
{
Expand Down Expand Up @@ -151,7 +151,7 @@ public function spawned($num)
}

/**
* @param string $extra
* @param string $extra
* @return string
*/
public function placeholder($extra = '')
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ protected function setBlocksFromCache(Collection $blocks)
/**
* In the case where nothing returns from the API, we have to show _something_.
*
* @param Block $block
* @param Block $block
* @return array
*/
protected function defaultResponse(Block $block)
Expand Down
3 changes: 0 additions & 3 deletions tests/DualThemeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@

namespace Torchlight\Tests;

use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\View;
use Torchlight\Blade\BladeManager;
use Torchlight\Middleware\RenderTorchlight;

class DualThemeTest extends BaseTest
Expand Down Expand Up @@ -88,5 +86,4 @@ protected function assertDarkLight($theme1, $theme2)
$response->content()
);
}

}