Skip to content

Commit dbd5043

Browse files
rakibdevsactions-user
authored andcommitted
Fix styling
1 parent efb9ec7 commit dbd5043

File tree

4 files changed

+114
-124
lines changed

4 files changed

+114
-124
lines changed

.php-cs-fixer.cache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"php":"8.0.5","version":"3.0.0","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true,"single_trait_insert_per_statement":true},"hashes":{"src\/config\/openweather.php":4030960505,"src\/WeatherServiceProvider.php":2191476785,"src\/Weather.php":2611710060,"src\/Exceptions\/WeatherException.php":3354548136}}

src/Exceptions/WeatherException.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ class WeatherException extends Exception
77
{
88
private $e;
99

10-
public function __construct($e){
10+
public function __construct($e)
11+
{
1112
$this->e = $e;
1213
}
1314

1415
public function render()
1516
{
1617
return $this->e->getResponse() == null?'Nothing found':$this->e->getResponse()->getBody(true);
17-
}
18-
18+
}
1919
}

0 commit comments

Comments
 (0)