Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
prewk committed Jul 3, 2018
1 parent 191d4c5 commit 53945a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Expand Up @@ -144,7 +144,7 @@ use Prewk\Snapper;

// $recipe = <Same as above>
// $serialization = <The snapshot>
// $dbh = <PDO handler>
// $dbh = <PDO handle>

// Create inserters
$inserters = [
Expand Down Expand Up @@ -298,7 +298,7 @@ use \Prewk\Snapper\Ingredients\Json;
->ref("bazes")->optional(null, 0); // Treat null and 0 as value instead of reference
})
// Match { "quxes": [<value>, <value>, <value>, <value>] }
->pattern("/quxes\\.\\d+$/", function(Json\MatchedJson $matched $matched) {
->pattern("/quxes\\.\\d+$/", function(Json\MatchedJson $matched) {
return $matched
->ref("quxes");
})
Expand Down

0 comments on commit 53945a4

Please sign in to comment.