1 | <?php namespace Propaganistas\LaravelIntl; |
||
6 | class Date |
||
7 | { |
||
8 | /** |
||
9 | * @var \Jenssegers\Date\Date |
||
10 | */ |
||
11 | protected $date; |
||
12 | |||
13 | /** |
||
14 | * Date constructor. |
||
15 | */ |
||
16 | 12 | public function __construct() |
|
22 | |||
23 | /** |
||
24 | * Handle dynamic calls to the object. |
||
25 | * |
||
26 | * @param string $method |
||
27 | * @param array $args |
||
28 | * @return mixed |
||
29 | */ |
||
30 | 8 | public function __call($method, $args) |
|
38 | |||
39 | /** |
||
40 | * Spoofed setLocale method. |
||
41 | * |
||
42 | * @param string $locale |
||
43 | * @return $this |
||
44 | */ |
||
45 | 9 | public function _setLocale($locale) |
|
51 | |||
52 | /** |
||
53 | * Spoofed setFallbackLocale method. |
||
54 | * |
||
55 | * @param string $locale |
||
56 | * @return $this |
||
57 | */ |
||
58 | 11 | public function _setFallbackLocale($locale) |
|
64 | } |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.