File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " tiny-pixel/blocks" ,
33 "type" : " library" ,
4- "version" : " 1.0.0 " ,
4+ "version" : " 1.0.2 " ,
55 "description" : " For consummate blockbuilders" ,
66 "license" : " MIT" ,
77 "authors" : [
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public function __construct(Collection $container)
3333 * @param Collection
3434 * @return void
3535 */
36- public function enqueueEditorAssets (Collection $ blocks ): Assets
36+ public function enqueueEditorAssets (Collection $ blocks ): AssetsInterface
3737 {
3838 $ blocks ->each (function ($ block ) {
3939 $ block ->editorScripts ->each (function ($ script ) {
@@ -54,7 +54,7 @@ public function enqueueEditorAssets(Collection $blocks): Assets
5454 * @param Collection
5555 * @return Assets
5656 */
57- public function enqueuePublicAssets (Collection $ blocks ): Assets
57+ public function enqueuePublicAssets (Collection $ blocks ): AssetsInterface
5858 {
5959 $ blocks ->each (function ($ block ) {
6060 $ block ->publicScripts ->each (function ($ script ) {
Original file line number Diff line number Diff line change 66
77interface ViewInterface
88{
9- public function boot (Object $ properties ): ViewInterface ;
9+ public function boot (Object $ config ): ViewInterface ;
1010
1111 public function render (BlockInterface $ block ): void ;
1212}
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public function __construct(Collection $container)
4848 * @param Collection container instance
4949 * @return void
5050 */
51- public function boot (Object $ config ): View
51+ public function boot (Object $ config ): ViewInterface
5252 {
5353 $ this ->setBaseDir ($ config ->dir . '/ ' );
5454 $ this ->setCacheDir ($ config ->cache . '/ ' );
You can’t perform that action at this time.
0 commit comments