回答編集履歴
2
調整
test
CHANGED
@@ -10,7 +10,9 @@
|
|
10
10
|
|
11
11
|
<?php
|
12
12
|
|
13
|
-
function fizz_buzz(int $n)
|
13
|
+
function fizz_buzz(int $n):string
|
14
|
+
|
15
|
+
{
|
14
16
|
|
15
17
|
if ($n % 15 == 0) {
|
16
18
|
|
1
修正
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
<?php
|
12
12
|
|
13
|
-
function fizz_buzz($n){
|
13
|
+
function fizz_buzz(int $n){
|
14
14
|
|
15
15
|
if ($n % 15 == 0) {
|
16
16
|
|