Skip to content

Commit

Permalink
Fix casing issue when loading from composer
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkelso committed Sep 6, 2019
1 parent f0d95ed commit 7a72764
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
10 changes: 0 additions & 10 deletions src/Macros.php

This file was deleted.

4 changes: 3 additions & 1 deletion src/macros.php
@@ -1,9 +1,11 @@
<?php

use BlastCloud\Hybrid\Expectation;

foreach (BlastCloud\Hybrid\Filters\WithEndpoint::VERBS as $verb) {
BlastCloud\Chassis\Expectation::macro(
strtolower($verb),
function ($expectation, $url) use ($verb) {
function (Expectation $expectation, $url) use ($verb) {
return $expectation->withEndpoint($url, $verb);
}
);
Expand Down

0 comments on commit 7a72764

Please sign in to comment.