File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ public function get(
212
212
int $ maxResults = 10 ,
213
213
array $ orderBy = [],
214
214
int $ offset = 0 ,
215
- FilterExpression $ dimensionFilter = null ,
215
+ ? FilterExpression $ dimensionFilter = null ,
216
216
bool $ keepEmptyRows = false ,
217
217
): Collection {
218
218
return $ this ->client ->get (
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function get(
35
35
int $ maxResults = 10 ,
36
36
array $ orderBy = [],
37
37
int $ offset = 0 ,
38
- FilterExpression $ dimensionFilter = null ,
38
+ ? FilterExpression $ dimensionFilter = null ,
39
39
bool $ keepEmptyRows = false ,
40
40
): Collection {
41
41
$ typeCaster = resolve (TypeCaster::class);
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public function bootingPackage()
34
34
});
35
35
}
36
36
37
- protected function guardAgainstInvalidConfiguration (array $ analyticsConfig = null ): void
37
+ protected function guardAgainstInvalidConfiguration (? array $ analyticsConfig = null ): void
38
38
{
39
39
if (empty ($ analyticsConfig ['property_id ' ])) {
40
40
throw InvalidConfiguration::propertyIdNotSpecified ();
Original file line number Diff line number Diff line change 5
5
use Carbon \Carbon ;
6
6
use DateTimeInterface ;
7
7
use Google \Analytics \Data \V1beta \DateRange ;
8
- use Spatie \Analytics \Exceptions \InvalidPeriod ;
9
8
use Illuminate \Support \Traits \Macroable ;
9
+ use Spatie \Analytics \Exceptions \InvalidPeriod ;
10
10
11
11
class Period
12
12
{
You can’t perform that action at this time.
0 commit comments