Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
Remove requrie() statements for enums
Browse files Browse the repository at this point in the history
Autoloading enums has been supported by composer for > 2 years now.
  • Loading branch information
fredemmott committed Jul 5, 2017
1 parent 9d92da3 commit f7530b5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/core/ComposableElement.php
Expand Up @@ -12,10 +12,6 @@
use FredEmmott\TypeAssert\IncorrectTypeException;
use FredEmmott\TypeAssert\TypeAssert;

// Composer didn't support autoloading enums until recently (2015-03-09)
require_once('ReflectionXHPAttribute.php');
require_once('ReflectionXHPChildrenDeclaration.php');

abstract class :x:composable-element extends :xhp {
private Map<string, mixed> $attributes = Map {};
private Vector<XHPChild> $children = Vector {};
Expand Down

0 comments on commit f7530b5

Please sign in to comment.