Skip to content

Apply fixes from StyleCI #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Blade/CodeComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class CodeComponent extends Component
/**
* Create a new component instance.
*
* @param $language
* @param $language
* @param null $theme
* @param null $contents
* @param null $torchlightId
Expand Down
20 changes: 10 additions & 10 deletions src/Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function clones()
}

/**
* @param $num
* @param $num
* @return $this
*/
public function cloned($num)
Expand All @@ -179,7 +179,7 @@ public function placeholder($extra = '')
}

/**
* @param $language
* @param $language
* @return $this
*/
public function language($language)
Expand All @@ -190,7 +190,7 @@ public function language($language)
}

/**
* @param $theme
* @param $theme
* @return $this
*/
public function theme($theme)
Expand All @@ -205,7 +205,7 @@ public function theme($theme)
}

/**
* @param $code
* @param $code
* @return $this
*/
public function code($code)
Expand Down Expand Up @@ -233,7 +233,7 @@ public function attrsAsString()
}

/**
* @param $processor
* @param $processor
* @return $this
*/
public function addPostProcessor($processor)
Expand All @@ -246,7 +246,7 @@ public function addPostProcessor($processor)
}

/**
* @param $wrapped
* @param $wrapped
* @return $this
*/
public function wrapped($wrapped)
Expand Down Expand Up @@ -292,7 +292,7 @@ public function toRequestParams()
}

/**
* @param $theme
* @param $theme
* @return mixed|string
*/
protected function normalizeArrayTheme($theme)
Expand All @@ -311,7 +311,7 @@ protected function normalizeArrayTheme($theme)
}

/**
* @param $code
* @param $code
* @return string
*/
protected function clean($code)
Expand All @@ -323,7 +323,7 @@ protected function clean($code)
}

/**
* @param $code
* @param $code
* @return string
*/
protected function replaceTabs($code)
Expand All @@ -338,7 +338,7 @@ protected function replaceTabs($code)
}

/**
* @param $code
* @param $code
* @return string
*/
protected function dedent($code)
Expand Down
12 changes: 6 additions & 6 deletions src/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ public function client()
}

/**
* @param $value
* @param $value
*/
public function currentlyCompilingViews($value)
{
$this->currentlyCompilingViews = $value;
}

/**
* @param $blocks
* @param $blocks
* @return mixed
*/
public function highlight($blocks)
Expand Down Expand Up @@ -120,7 +120,7 @@ public function addPostProcessors($classes)
}

/**
* @param $blocks
* @param $blocks
*/
public function postProcessBlocks($blocks)
{
Expand Down Expand Up @@ -172,7 +172,7 @@ public function processFileContents($file)
/**
* Get an item out of the config using dot notation.
*
* @param $key
* @param $key
* @param null $default
* @return mixed
*/
Expand All @@ -194,7 +194,7 @@ public function config($key, $default = null)
* A callback function used to access configuration. By default this
* is null, which will fall through to Laravel's `config` function.
*
* @param $callback
* @param $callback
*/
public function getConfigUsing($callback)
{
Expand Down Expand Up @@ -247,7 +247,7 @@ public function findTorchlightIds($content)
}

/**
* @param $processor
* @param $processor
* @return PostProcessor
*
* @throws ConfigurationException
Expand Down
2 changes: 1 addition & 1 deletion src/TorchlightServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function decorateGrahamCampbellEngines()
/**
* Decorate a single view engine.
*
* @param $name
* @param $name
*/
protected function decorateEngine($name)
{
Expand Down