Skip to content

Commit da96691

Browse files
committed
int, string, float Array classes removed
1 parent 609bcd0 commit da96691

File tree

7 files changed

+5
-343
lines changed

7 files changed

+5
-343
lines changed

CHANGELOG.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ All notable changes to this project will be documented in this file.
66
The format is based on [Keep a Changelog](http://keepachangelog.com/)
77
and this project adheres to [Semantic Versioning](http://semver.org/).
88

9-
## [Unrelased][v0.1.0](https://github.com/s3b4stian/linna-array/compare/v0.1.0...master) - 2017-XX-XX
9+
## [Unrelased][v1.0.0](https://github.com/s3b4stian/linna-array/compare/v1.0.0...master) - 2017-XX-XX
1010

1111
### Added
12-
* `Linna\intArray` for create integer typed arrays.
13-
* `Linna\stringArray` for create string typed arrays.
14-
* `Linna\floatArray` for create float typed arrays.
12+
* `Linna\TypedArray` for create arrays that accept only values of the user defined type.
13+
* `Linna\TypedObjectArray` for create arrays that accept only class instances of the user defined type.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ With composer:
2323
composer require s3b4stian/linna-array
2424
```
2525

26-
## Usage TypedArray
26+
## Usage - TypedArray
2727
```php
2828
use Linna\TypedArray;
2929

@@ -38,7 +38,7 @@ $array[] = 'a';
3838
```
3939
Allowed types are: *array*, *bool*, *callable*, *float*, *int*, *object*, *string*.
4040

41-
## Usage TypedObjectArray
41+
## Usage - TypedObjectArray
4242
```php
4343
use Linna\TypedObjectArray;
4444

src/floatArray.php

Lines changed: 0 additions & 61 deletions
This file was deleted.

src/intArray.php

Lines changed: 0 additions & 61 deletions
This file was deleted.

src/stringArray.php

Lines changed: 0 additions & 61 deletions
This file was deleted.

tests/floatArrayTest.php

Lines changed: 0 additions & 77 deletions
This file was deleted.

tests/stringArrayTest.php

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)