Skip to content

Commit fcac6c0

Browse files
Apply fixes from StyleCI (#17)
[ci skip] [skip ci]
1 parent 63181cf commit fcac6c0

File tree

10 files changed

+21
-16
lines changed

10 files changed

+21
-16
lines changed

src/Blade/BladeManager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class BladeManager
1818
* tags, which ours usually is.
1919
*
2020
* @see https://github.com/laravel/framework/blob/8.x/CHANGELOG-8.x.md#v8230-2021-01-19.
21+
*
2122
* @var bool
2223
*/
2324
public static $affectedBySpacingBug = false;

src/Blade/CodeComponent.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ class CodeComponent extends Component
2626
* Create a new component instance.
2727
*
2828
* @param $language
29-
* @param null $theme
30-
* @param null $contents
31-
* @param null $torchlightId
29+
* @param null $theme
30+
* @param null $contents
31+
* @param null $torchlightId
3232
*/
3333
public function __construct($language, $theme = null, $contents = null, $torchlightId = null)
3434
{

src/Block.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class Block
7171
protected $id;
7272

7373
/**
74-
* @param null|string $id
74+
* @param null|string $id
7575
* @return static
7676
*/
7777
public static function make($id = null)
@@ -80,7 +80,7 @@ public static function make($id = null)
8080
}
8181

8282
/**
83-
* @param null|string $id
83+
* @param null|string $id
8484
*/
8585
public function __construct($id = null)
8686
{
@@ -124,7 +124,7 @@ public function hash()
124124
}
125125

126126
/**
127-
* @param string $extra
127+
* @param string $extra
128128
* @return string
129129
*/
130130
public function placeholder($extra = '')

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ protected function setBlocksFromCache(Collection $blocks)
199199
/**
200200
* In the case where nothing returns from the API, we have to show _something_.
201201
*
202-
* @param Block $block
202+
* @param Block $block
203203
* @return array
204204
*/
205205
protected function defaultResponse(Block $block)

src/Commands/Install.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ class Install extends Command
1313
{
1414
/**
1515
* The name and signature of the console command.
16+
*
1617
* @var string
1718
*/
1819
protected $signature = 'torchlight:install';
1920

2021
/**
2122
* The console command description.
23+
*
2224
* @var string
2325
*/
2426
protected $description = 'Install the Torchlight config file into your app.';

src/Manager.php

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class Manager
4848
protected $currentlyCompilingViews = false;
4949

5050
/**
51-
* @param Client $client
51+
* @param Client $client
5252
* @return Manager
5353
*/
5454
public function setClient(Client $client)
@@ -100,15 +100,16 @@ public function environment()
100100
}
101101

102102
/**
103-
* @param string|null $environment
103+
* @param string|null $environment
104104
*/
105105
public function overrideEnvironment($environment = null)
106106
{
107107
$this->environment = $environment;
108108
}
109109

110110
/**
111-
* @param array|string $classes
111+
* @param array|string $classes
112+
*
112113
* @throws ConfigurationException
113114
*/
114115
public function addPostProcessors($classes)
@@ -172,7 +173,7 @@ public function processFileContents($file)
172173
* Get an item out of the config using dot notation.
173174
*
174175
* @param $key
175-
* @param null $default
176+
* @param null $default
176177
* @return mixed
177178
*/
178179
public function config($key, $default = null)
@@ -209,7 +210,7 @@ public function getConfigUsing($callback)
209210
/**
210211
* Set the cache implementation directly instead of using a driver.
211212
*
212-
* @param Repository $cache
213+
* @param Repository $cache
213214
*/
214215
public function setCacheInstance(Repository $cache)
215216
{
@@ -235,7 +236,7 @@ public function cache()
235236
/**
236237
* Return all the Torchlight IDs in a given string.
237238
*
238-
* @param string $content
239+
* @param string $content
239240
* @return array
240241
*/
241242
public function findTorchlightIds($content)

src/Middleware/RenderTorchlight.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class RenderTorchlight
1414
/**
1515
* Handle an incoming request.
1616
*
17-
* @param \Illuminate\Http\Request $request
18-
* @param \Closure $next
17+
* @param \Illuminate\Http\Request $request
18+
* @param \Closure $next
1919
* @return mixed
2020
*/
2121
public function handle(Request $request, Closure $next)

src/Torchlight.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class Torchlight extends Facade
1111
{
1212
/**
1313
* @return string
14+
*
1415
* @see Manager
1516
*/
1617
protected static function getFacadeAccessor()

src/TorchlightServiceProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ public function decorateGrahamCampbellEngines()
111111

112112
/**
113113
* Decorate a single view engine.
114+
*
114115
* @param $name
115116
*/
116117
protected function decorateEngine($name)

tests/MiddlewareAndComponentTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ public function two_code_in_one_pre()
216216
);
217217
}
218218

219-
220219
/** @test */
221220
public function two_components_work()
222221
{

0 commit comments

Comments
 (0)