Skip to content

Commit 4b61b4e

Browse files
ziminggithub-actions[bot]
authored andcommitted
Fix styling
1 parent 790a607 commit 4b61b4e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/LaravelScrapingBeeYouTubeSearch.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public function get(): Response
4141
$this->params['api_key'] = $this->apiKey;
4242
$response = Http::get($this->baseUrl, $this->params);
4343
$this->reset();
44+
4445
return $response;
4546
}
4647

@@ -51,6 +52,7 @@ public function get(): Response
5152
public function search(string $query): self
5253
{
5354
$this->params['search'] = $query;
55+
5456
return $this;
5557
}
5658

@@ -60,6 +62,7 @@ public function search(string $query): self
6062
public function only360(): self
6163
{
6264
$this->params['360'] = true;
65+
6366
return $this;
6467
}
6568

@@ -69,6 +72,7 @@ public function only360(): self
6972
public function only3d(): self
7073
{
7174
$this->params['3d'] = true;
75+
7276
return $this;
7377
}
7478

@@ -78,6 +82,7 @@ public function only3d(): self
7882
public function only4k(): self
7983
{
8084
$this->params['4k'] = true;
85+
8186
return $this;
8287
}
8388

@@ -87,6 +92,7 @@ public function only4k(): self
8792
public function creativeCommons(): self
8893
{
8994
$this->params['creative_commons'] = true;
95+
9096
return $this;
9197
}
9298

@@ -96,6 +102,7 @@ public function creativeCommons(): self
96102
public function duration(string $value): self
97103
{
98104
$this->params['duration'] = $value;
105+
99106
return $this;
100107
}
101108

@@ -105,6 +112,7 @@ public function duration(string $value): self
105112
public function onlyHd(): self
106113
{
107114
$this->params['hd'] = true;
115+
108116
return $this;
109117
}
110118

@@ -114,6 +122,7 @@ public function onlyHd(): self
114122
public function onlyHdr(): self
115123
{
116124
$this->params['hdr'] = true;
125+
117126
return $this;
118127
}
119128

@@ -123,6 +132,7 @@ public function onlyHdr(): self
123132
public function live(): self
124133
{
125134
$this->params['live'] = true;
135+
126136
return $this;
127137
}
128138

@@ -132,6 +142,7 @@ public function live(): self
132142
public function location(): self
133143
{
134144
$this->params['location'] = true;
145+
135146
return $this;
136147
}
137148

@@ -141,6 +152,7 @@ public function location(): self
141152
public function purchased(): self
142153
{
143154
$this->params['purchased'] = true;
155+
144156
return $this;
145157
}
146158

@@ -150,6 +162,7 @@ public function purchased(): self
150162
public function sortBy(string $value): self
151163
{
152164
$this->params['sort_by'] = $value;
165+
153166
return $this;
154167
}
155168

@@ -159,6 +172,7 @@ public function sortBy(string $value): self
159172
public function subtitles(): self
160173
{
161174
$this->params['subtitles'] = true;
175+
162176
return $this;
163177
}
164178

@@ -168,6 +182,7 @@ public function subtitles(): self
168182
public function type(string $value): self
169183
{
170184
$this->params['type'] = $value;
185+
171186
return $this;
172187
}
173188

@@ -177,6 +192,7 @@ public function type(string $value): self
177192
public function uploadDate(string $value): self
178193
{
179194
$this->params['upload_date'] = $value;
195+
180196
return $this;
181197
}
182198

@@ -186,6 +202,7 @@ public function uploadDate(string $value): self
186202
public function onlyVr180(bool $value = true): self
187203
{
188204
$this->params['vr180'] = $value;
205+
189206
return $this;
190207
}
191208

@@ -195,12 +212,14 @@ public function onlyVr180(bool $value = true): self
195212
public function setParam(string $key, mixed $value): self
196213
{
197214
$this->params[$key] = $value;
215+
198216
return $this;
199217
}
200218

201219
private function reset(): self
202220
{
203221
$this->params = [];
222+
204223
return $this;
205224
}
206225
}

0 commit comments

Comments
 (0)