Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
prwater committed Feb 27, 2019
2 parents 7ec9fbd + 26e01b3 commit 4c6dfb8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ The class `SetBased\Abc\Helper\Cast` has the following methods for testing mixed
| isOptInt | returns true | bool |
| isOptString | returns true | bool |

The class `SetBased\Abc\Helper\Cast` has the methods shown int he table below for casting mixed values to a primitive
data type. When a value can not casted safely to a type n exception will be thrown.
The class `SetBased\Abc\Helper\Cast` has the methods shown in the table below for casting mixed values to a primitive
data type. When a value can not casted an exception will be thrown.

| Method | Null Value | Return Type |
| ---------------- | ------------------- | ------------ |
Expand Down Expand Up @@ -135,7 +135,7 @@ Exception

## Finite Floats

A float can finite (e.g. 3.14), infinite (i.e. INF or -INF), or not a number (i.e. NAN). The
A float can be finite (e.g. 3.14), infinite (i.e. INF or -INF), or not a number (i.e. NAN). The
`[is|to][Man|Opt]FiniteFloat` methods will assist in establishing a value is a real floating point number.

## Booleans
Expand All @@ -160,13 +160,13 @@ composer require setbased/helper-cast
```


# License

This project is licensed under the MIT license.


# References

* [PHP RFC: Safe Casting Functions](https://wiki.php.net/rfc/safe_cast)
* A functional and closer to the original RFC implementation [theodorejb/PolyCast
](https://github.com/theodorejb/PolyCast).


# License

This project is licensed under the MIT license.

0 comments on commit 4c6dfb8

Please sign in to comment.