Skip to content

Commit

Permalink
chore: исправил мелкие ошибки
Browse files Browse the repository at this point in the history
  • Loading branch information
nnagornyy committed Aug 20, 2020
1 parent c06ff85 commit 448ebf5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/src/block/gallery/gallery.conf.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Список изображений с описанием",
"type": "galleryWithDescription",
"type": "gallery",
"handler": "",
"conf" : {
"foo": "bar",
Expand Down
2 changes: 1 addition & 1 deletion lib/block/defaulthandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class DefaultHandler implements Handler{
*/
private $block;

public function getData(): array
public function getData()
{
return $this->block->getData();
}
Expand Down
2 changes: 1 addition & 1 deletion lib/block/handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ interface Handler {
* return block data
* @return array
*/
public function getData(): array;
public function getData();

public function setBlock(Block $block): void;
}

0 comments on commit 448ebf5

Please sign in to comment.