public static function random() { $expression = [null, StubCreator::faker()->word]; return self::create($expression[array_rand($expression)]); }
/** * @return CommitMsg */ public static function random() { return self::create(new Undefined(false), EnabledStub::random(), RegularExpressionStub::random()); }