Skip to content

Commit 1f26033

Browse files
committed
add declare strict_types at the skeleton
1 parent e88be49 commit 1f26033

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wizardPhpSkeletons.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ async function generatePhpClassSkeleton(className: string, namespace: string): P
102102

103103
let skeleton = `<?php
104104
105+
declare(strict_types=1);
106+
105107
namespace ${namespace};
106108
107109
class ${className}

0 commit comments

Comments
 (0)