質問編集履歴

1

getNumberをgetNmberと間違えて記載していたため、修正しました。

2016/10/10 06:13

投稿

HirokiSasaki
HirokiSasaki

スコア8

test CHANGED
File without changes
test CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  ```
16
16
 
17
- Fatal error: Call to undefined function setNumber() in /home/ubuntu/workspace/index.php on line 33 Call Stack: 0.0003 236776 1. {main}() /home/ubuntu/workspace/index.php:0 0.0004 237032 2. Car->__construct() /home/ubuntu/workspace/index.php:10
17
+ Fatal error: Call to undefined function setNumber() in /home/ubuntu/workspace/index.php on line 33 Call Stack: 0.0015 240320 1. {main}() /home/ubuntu/workspace/index.php:0 0.0015 240576 2. Car->__construct() /home/ubuntu/workspace/index.php:10
18
18
 
19
19
  ```
20
20
 
@@ -120,7 +120,7 @@
120
120
 
121
121
 
122
122
 
123
- public function getNmber(){
123
+ public function getNumber(){
124
124
 
125
125
  return $this->number;
126
126