Skip to content

Commit 67e038f

Browse files
author
Martin Brecht-Precht
committed
Added strict type declaration
1 parent dfd8efb commit 67e038f

28 files changed

+56
-0
lines changed

src/Block/BlockInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Markdom\ModelInterface\Block;
46

57
use Markdom\Common\BlockType;

src/Block/BlockParentInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Markdom\ModelInterface\Block;
46

57
use Markdom\ModelInterface\Common\NodeInterface;

src/Block/BlockSequenceInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Markdom\ModelInterface\Block;
46

57
use Markdom\ModelInterface\Common\CountableIteratorInterface;

src/Block/CodeBlockInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Markdom\ModelInterface\Block;
46

57
/**

src/Block/CommentBlockInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Markdom\ModelInterface\Block;
46

57
/**

src/Block/ContentParentBlockInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Markdom\ModelInterface\Block;
46

57
use Markdom\ModelInterface\Content\ContentParentInterface;

src/Block/DivisionBlockInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Markdom\ModelInterface\Block;
46

57
/**

src/Block/DocumentInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Markdom\ModelInterface\Block;
46

57
use Markdom\DispatcherInterface\DispatcherInterface;

src/Block/HeadingBlockInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Markdom\ModelInterface\Block;
46

57
/**

src/Block/ListBlockInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Markdom\ModelInterface\Block;
46

57
/**

0 commit comments

Comments
 (0)