An array should be passed to allowMethod to allow multiple methods

A baked controller has a delete method containing

```php
$this->request->allowMethod('post', 'delete');
```
this should be 

```php
$this->request->allowMethod(['post', 'delete']);
```