Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit 42cb006

Browse files
committed
Rename array => [] extractor to match convention, #6
1 parent a467bd9 commit 42cb006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Laravel/JsSandboxServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ protected function registerExtractor()
256256

257257
// TODO: register basic extractor
258258

259+
$collection->put('[]', $array = new ArrayExtractor());
259260
$collection->put('raw', $raw = new RawExtractor());
260-
$collection->put('array', $array = new ArrayExtractor());
261261
$collection->put('primitive', $primitive = new PrimitiveExtractor());
262262

263263
$collection->put('string', $string = new StringExtractor());

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /