File tree 7 files changed +21
-21
lines changed 7 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ public function withConstant(
63
63
public function withCollection (
64
64
string $ modelClass ,
65
65
string $ scopeName ,
66
- ?string $ resourceClass ,
67
- ?string $ controllerClass ,
68
- ?string $ routeFragment ,
66
+ ?string $ resourceClass = null ,
67
+ ?string $ controllerClass = null ,
68
+ ?string $ routeFragment = null ,
69
69
): SyncApiCollection {
70
70
$ syncApiCollection = new SyncApiCollection (
71
71
$ this ,
Original file line number Diff line number Diff line change @@ -102,9 +102,9 @@ function withConstant(
102
102
public function withCollection (
103
103
string $ modelClass ,
104
104
string $ scopeName ,
105
- ?string $ resourceClass ,
106
- ?string $ controllerClass ,
107
- ?string $ routeFragment ,
105
+ ?string $ resourceClass = null ,
106
+ ?string $ controllerClass = null ,
107
+ ?string $ routeFragment = null ,
108
108
): SyncApiCollection {
109
109
return $ this ->syncApi ->withCollection (
110
110
$ modelClass ,
Original file line number Diff line number Diff line change @@ -110,9 +110,9 @@ function withConstant(
110
110
public function withCollection (
111
111
string $ modelClass ,
112
112
string $ scopeName ,
113
- ?string $ resourceClass ,
114
- ?string $ controllerClass ,
115
- ?string $ routeFragment ,
113
+ ?string $ resourceClass = null ,
114
+ ?string $ controllerClass = null ,
115
+ ?string $ routeFragment = null ,
116
116
): SyncApiCollection {
117
117
return $ this ->syncApiCollection ->withCollection (
118
118
$ modelClass ,
Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ function withConstant(
65
65
function withCollection (
66
66
string $ modelClass ,
67
67
string $ scopeName ,
68
- ?string $ resourceClass ,
69
- ?string $ controllerClass ,
70
- ?string $ routeFragment ,
68
+ ?string $ resourceClass = null ,
69
+ ?string $ controllerClass = null ,
70
+ ?string $ routeFragment = null ,
71
71
): SyncApiCollection {
72
72
return $ this
73
73
->syncApi
Original file line number Diff line number Diff line change @@ -66,9 +66,9 @@ function withConstant(
66
66
function withCollection (
67
67
string $ modelClass ,
68
68
string $ scopeName ,
69
- ?string $ resourceClass ,
70
- ?string $ controllerClass ,
71
- ?string $ routeFragment ,
69
+ ?string $ resourceClass = null ,
70
+ ?string $ controllerClass = null ,
71
+ ?string $ routeFragment = null ,
72
72
): SyncApiCollection {
73
73
return $ this
74
74
->syncApi
Original file line number Diff line number Diff line change @@ -98,9 +98,9 @@ function withConstant(
98
98
function withCollection (
99
99
string $ modelClass ,
100
100
string $ scopeName ,
101
- ?string $ resourceClass ,
102
- ?string $ controllerClass ,
103
- ?string $ routeFragment ,
101
+ ?string $ resourceClass = null ,
102
+ ?string $ controllerClass = null ,
103
+ ?string $ routeFragment = null ,
104
104
): SyncApiCollection ;
105
105
106
106
/**
Original file line number Diff line number Diff line change @@ -66,9 +66,9 @@ function withConstant(
66
66
function withCollection (
67
67
string $ modelClass ,
68
68
string $ scopeName ,
69
- ?string $ resourceClass ,
70
- ?string $ controllerClass ,
71
- ?string $ routeFragment ,
69
+ ?string $ resourceClass = null ,
70
+ ?string $ controllerClass = null ,
71
+ ?string $ routeFragment = null ,
72
72
): SyncApiCollection {
73
73
return $ this
74
74
->syncApi
You can’t perform that action at this time.
0 commit comments