<commit_before><?php namespace Zeropingheroes\Lanager\Api\v1;

use Zeropingheroes\Lanager\Users\UserService,
	Zeropingheroes\Lanager\Users\UserTransformer;

class UsersController extends BaseController {

	public function __construct()
	{
		parent::__construct();
		$this->service = new UserService($this);
		$this->transformer = new UserTransformer;
	}

}<commit_msg>Added 405 method not allowed to user store/update api<commit_after><?php namespace Zeropingheroes\Lanager\Api\v1;

use Zeropingheroes\Lanager\Users\UserService,
	Zeropingheroes\Lanager\Users\UserTransformer;

class UsersController extends BaseController {

	public function __construct()
	{
		parent::__construct();
		$this->service = new UserService($this);
		$this->transformer = new UserTransformer;
	}

	public function store()
	{
		return $this->response->error('Method not allowed', 405);
	}

	public function update($id)
	{
		return $this->response->error('Method not allowed', 405);
	}
}
{'fraction_non_alphanumeric': 0.11838006230529595, 'fraction_numerical': 0.01142263759086189, 'mean_word_length': 5.6482758620689655, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2638472', 'n_tokens_mistral': 327, 'n_tokens_neox': 306, 'n_words': 64}