Skip to content

Commit

Permalink
Merge pull request #1485 from scyzoryck/remove-yml-handlers
Browse files Browse the repository at this point in the history
refactor(handlers): Unregister unused YML handlers
  • Loading branch information
scyzoryck committed May 8, 2023
2 parents b4e6128 + 07735f2 commit 7e08ad8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Handler/ArrayCollectionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function __construct(
public static function getSubscribingMethods()
{
$methods = [];
$formats = ['json', 'xml', 'yml'];
$formats = ['json', 'xml'];

foreach (self::COLLECTION_TYPES as $type) {
foreach ($formats as $format) {
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/StdClassHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class StdClassHandler implements SubscribingHandlerInterface
public static function getSubscribingMethods()
{
$methods = [];
$formats = ['json', 'xml', 'yml'];
$formats = ['json', 'xml'];

foreach ($formats as $format) {
$methods[] = [
Expand Down

0 comments on commit 7e08ad8

Please sign in to comment.