Skip to content

Commit 763554f

Browse files
committed
StyleCI
1 parent 0029d24 commit 763554f

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

src/Illuminate/Support/JsString.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
class JsString implements Htmlable
1111
{
12-
1312
/**
1413
* Flags that must always be used when encoding to JSON for JsString.
1514
*
@@ -30,7 +29,6 @@ class JsString implements Htmlable
3029
* @param mixed $data
3130
* @param int $flags
3231
* @param int $depth
33-
*
3432
* @return static
3533
*
3634
* @throws \JsonException
@@ -46,7 +44,6 @@ public static function from($data, $flags = 0, $depth = 512)
4644
* @param mixed $data
4745
* @param int|null $flags
4846
* @param int $depth
49-
*
5047
* @return void
5148
*
5249
* @throws \JsonException
@@ -82,7 +79,6 @@ public function __toString()
8279
* @param mixed $data
8380
* @param int $flags
8481
* @param int $depth
85-
*
8682
* @return string
8783
*
8884
* @throws \JsonException
@@ -104,7 +100,6 @@ protected function convertDataToJavaScriptExpression($data, $flags = 0, $depth =
104100
* @param mixed $data
105101
* @param int $flags
106102
* @param int $depth
107-
*
108103
* @return string
109104
*
110105
* @throws \JsonException
@@ -127,7 +122,6 @@ protected function jsonEncode($data, $flags = 0, $depth = 512)
127122
*
128123
* @param string $json
129124
* @param int $flags
130-
*
131125
* @return string
132126
*
133127
* @throws \JsonException

tests/Support/SupportJsStringTest.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ public function testJsonSerializable()
4747
{
4848
// JsonSerializable should take precedence over Arrayable, so we'll
4949
// implement both and make sure the correct data is used.
50-
$data = new class() implements JsonSerializable, Arrayable {
50+
$data = new class() implements JsonSerializable, Arrayable
51+
{
5152
public $foo = 'not hello';
5253

5354
public $bar = 'not world';
@@ -73,7 +74,8 @@ public function testJsonable()
7374
{
7475
// Jsonable should take precedence over JsonSerializable and Arrayable, so we'll
7576
// implement all three and make sure the correct data is used.
76-
$data = new class() implements Jsonable, JsonSerializable, Arrayable {
77+
$data = new class() implements Jsonable, JsonSerializable, Arrayable
78+
{
7779
public $foo = 'not hello';
7880

7981
public $bar = 'not world';
@@ -102,7 +104,8 @@ public function toArray()
102104

103105
public function testArrayable()
104106
{
105-
$data = new class() implements Arrayable {
107+
$data = new class() implements Arrayable
108+
{
106109
public $foo = 'not hello';
107110

108111
public $bar = 'not world';

0 commit comments

Comments
 (0)