Skip to content

Commit

Permalink
fixed cs
Browse files Browse the repository at this point in the history
  • Loading branch information
akaunderr committed Jan 9, 2024
1 parent 4eedbea commit 4054519
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions src/MinifyCSS.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ public function __construct(string $engine = 'matthiasmullie', array $options =
}

/**
* @param null|string $data
* @param string|null $data
*
* @return null|mixed
* @return mixed|null
*/
public function init(string $data = null) {
switch ($this->engine) {
Expand All @@ -54,9 +54,9 @@ public function init(string $data = null) {
}

/**
* @param null|string $data
* @param string|null $data
*
* @return null|mixed
* @return mixed|null
*/
public function minify(string $data = null) {
switch ($this->engine) {
Expand All @@ -68,7 +68,7 @@ public function minify(string $data = null) {
/**
* @param string $data
*
* @return null|mixed
* @return mixed|null
*/
public function add(string $data) {
switch ($this->engine) {
Expand Down
8 changes: 4 additions & 4 deletions src/MinifyHTML.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ public function __construct(string $engine = 'voku', array $options = []) {
}

/**
* @param null|string $data
* @param string|null $data
*
* @return null|mixed
* @return mixed|null
*/
public function init(string $data = null) {
switch ($this->engine) {
Expand All @@ -91,9 +91,9 @@ public function init(string $data = null) {
}

/**
* @param null|string $data
* @param string|null $data
*
* @return null|mixed
* @return mixed|null
*/
public function minify(string $data = null) {
switch ($this->engine) {
Expand Down
10 changes: 5 additions & 5 deletions src/MinifyJS.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ public function __construct(string $engine = 'matthiasmullie', array $options =
}

/**
* @param null|string $data
* @param string|null $data
*
* @return null|mixed
* @return mixed|null
*/
public function init(string $data = null) {
switch ($this->engine) {
Expand All @@ -54,9 +54,9 @@ public function init(string $data = null) {
}

/**
* @param null|string $data
* @param string|null $data
*
* @return null|mixed
* @return mixed|null
*/
public function minify(string $data = null) {
switch ($this->engine) {
Expand All @@ -68,7 +68,7 @@ public function minify(string $data = null) {
/**
* @param string $data
*
* @return null|mixed
* @return mixed|null
*/
public function add(string $data) {
switch ($this->engine) {
Expand Down
2 changes: 1 addition & 1 deletion src/ShrinkWrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function __construct() {
* @param mixed $method
* @param mixed $args
*/
public function __call($method, $args) {
public function __call($method, $args): void {
echo "Calling unknown object method '{$method}' " . json_encode($args) . "\n";
}

Expand Down

0 comments on commit 4054519

Please sign in to comment.