Skip to content

Commit a147405

Browse files
committed
refactor traits
1 parent 64134f5 commit a147405

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@balboacodes/laravel-helpers",
3-
"version": "0.12.0",
3+
"version": "0.13.0",
44
"description": "A TypeScript port of Laravel's helpers",
55
"keywords": [
66
"laravel",

src/Collection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import {
33
array_all, array_any, array_chunk, array_combine, array_diff, array_diff_assoc, array_diff_key, array_diff_uassoc, array_filter, array_find_key, array_flip, array_intersect, array_intersect_assoc, array_intersect_key, array_intersect_uassoc, array_keys, array_map, array_merge, array_merge_recursive, array_pad, array_pop, array_push, array_replace, array_replace_recursive, array_reverse, array_search, array_shift, array_slice, array_splice, array_uintersect, array_unique, arsort, asort, count, empty, in_array, intval, isset, krsort, ksort, range, SORT_FLAG_CASE, SORT_LOCALE_STRING, SORT_NATURAL, SORT_NUMERIC, SORT_REGULAR, SORT_STRING, strcasecmp, strcmp, strcoll, strnatcasecmp, strnatcmp, uasort, uksort, unset,
44
} from '@balboacodes/php-utils';
55
import { Arr } from './Arr';
6-
import { Conditionable } from './Concerns/Conditionable';
7-
import { use } from './Concerns/decorator';
6+
import { use } from './decorators/use';
87
import { data_get, data_has, value } from './helpers';
8+
import { Conditionable } from './traits/Conditionable';
99

1010
type Enumerable<TKey extends number | string, TValue> = TValue[] | Record<TKey, TValue> | Collection<TKey, TValue>;
1111

src/Pipeline.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { array_push, array_reduce, array_reverse } from '@balboacodes/php-utils';
2-
import { Conditionable } from './Concerns/Conditionable';
3-
import { use } from './Concerns/decorator';
2+
import { use } from './decorators/use';
3+
import { Conditionable } from './traits/Conditionable';
44

55
export interface Pipeline extends Conditionable {}
66

src/Stringable.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
import {
33
basename, dirname, explode, FILTER_VALIDATE_INT, filter_var, hash, mb_str_split, preg_split, sscanf, strip_tags,
44
} from '@balboacodes/php-utils';
5-
import { Conditionable } from './Concerns/Conditionable';
6-
import { use } from './Concerns/decorator';
75
import { Str } from './Str';
6+
import { use } from './decorators/use';
7+
import { Conditionable } from './traits/Conditionable';
88

99
export interface Stringable extends Conditionable {}
1010

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)