Skip to content

Commit b9862bd

Browse files
committed
typos
1 parent 54d16a0 commit b9862bd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

readme.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Nette Schema
2-
************
1+
# Nette Schema
32

43
[![Downloads this Month](https://img.shields.io/packagist/dm/nette/schema.svg)](https://packagist.org/packages/nette/schema)
54
[![Tests](https://github.com/nette/schema/workflows/Tests/badge.svg?branch=master)](https://github.com/nette/schema/actions)

src/Schema/Helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public static function validatePattern(string $value, string $pattern, Context $
167167

168168
public static function getCastStrategy(string $type): \Closure
169169
{
170-
if (Nette\Utils\Reflection::isBuiltinType($type)) {
170+
if (Nette\Utils\Validators::isBuiltinType($type)) {
171171
return static function ($value) use ($type) {
172172
settype($value, $type);
173173
return $value;

0 commit comments

Comments
 (0)