We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1add163 commit d35a834Copy full SHA for d35a834
src/Minimalcode/Enumeration/AbstractEnum.php
@@ -234,14 +234,6 @@ final private function __clone()
234
throw new LogicException('Enums are not cloneable');
235
}
236
237
- /**
238
- * @throws LogicException Enums are not serializable because instances are implemented as singletons
239
- */
240
- final public function __sleep()
241
- {
242
- throw new LogicException('Enums are not serializable');
243
- }
244
-
245
/**
246
* @throws LogicException Enums are not serializable because instances are implemented as singletons
247
*/
0 commit comments