@@ -162,7 +162,7 @@ class <proxyShortClassName> extends \<className> implements \<baseProxyInterface
162
162
/**
163
163
* Forces initialization of the proxy
164
164
*/
165
- public function __load()
165
+ public function __load(): void
166
166
{
167
167
$this->__initializer__ && $this->__initializer__->__invoke($this, \'__load \', []);
168
168
}
@@ -171,7 +171,7 @@ public function __load()
171
171
* {@inheritDoc}
172
172
* @internal generated method: use only when explicitly handling proxy specific loading logic
173
173
*/
174
- public function __isInitialized()
174
+ public function __isInitialized(): bool
175
175
{
176
176
return $this->__isInitialized__;
177
177
}
@@ -180,7 +180,7 @@ public function __isInitialized()
180
180
* {@inheritDoc}
181
181
* @internal generated method: use only when explicitly handling proxy specific loading logic
182
182
*/
183
- public function __setInitialized($initialized)
183
+ public function __setInitialized($initialized): void
184
184
{
185
185
$this->__isInitialized__ = $initialized;
186
186
}
@@ -189,7 +189,7 @@ public function __setInitialized($initialized)
189
189
* {@inheritDoc}
190
190
* @internal generated method: use only when explicitly handling proxy specific loading logic
191
191
*/
192
- public function __setInitializer(\Closure $initializer = null)
192
+ public function __setInitializer(\Closure $initializer = null): void
193
193
{
194
194
$this->__initializer__ = $initializer;
195
195
}
@@ -198,7 +198,7 @@ public function __setInitializer(\Closure $initializer = null)
198
198
* {@inheritDoc}
199
199
* @internal generated method: use only when explicitly handling proxy specific loading logic
200
200
*/
201
- public function __getInitializer()
201
+ public function __getInitializer(): ?\Closure
202
202
{
203
203
return $this->__initializer__;
204
204
}
@@ -207,7 +207,7 @@ public function __getInitializer()
207
207
* {@inheritDoc}
208
208
* @internal generated method: use only when explicitly handling proxy specific loading logic
209
209
*/
210
- public function __setCloner(\Closure $cloner = null)
210
+ public function __setCloner(\Closure $cloner = null): void
211
211
{
212
212
$this->__cloner__ = $cloner;
213
213
}
@@ -216,7 +216,7 @@ public function __setCloner(\Closure $cloner = null)
216
216
* {@inheritDoc}
217
217
* @internal generated method: use only when explicitly handling proxy specific cloning logic
218
218
*/
219
- public function __getCloner()
219
+ public function __getCloner(): ?\Closure
220
220
{
221
221
return $this->__cloner__;
222
222
}
@@ -227,7 +227,7 @@ public function __getCloner()
227
227
* @deprecated no longer in use - generated code now relies on internal components rather than generated public API
228
228
* @static
229
229
*/
230
- public function __getLazyProperties()
230
+ public function __getLazyProperties(): array
231
231
{
232
232
return self::$lazyPropertiesDefaults;
233
233
}
0 commit comments