| 1 | <?php |
||
| 5 | class AttachmentField |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * The required title field of the field. |
||
| 9 | * |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $title; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * The required value of the field. |
||
| 16 | * |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $value; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Whether the value is short enough to fit side by side with |
||
| 23 | * other values. |
||
| 24 | * |
||
| 25 | * @var bool |
||
| 26 | */ |
||
| 27 | protected $short = false; |
||
| 28 | |||
| 29 | public static function create(array $attributes) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param array $attributes |
||
| 36 | */ |
||
| 37 | public function __construct(array $attributes) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Set the title of the field. |
||
| 54 | * |
||
| 55 | * @param string $title |
||
| 56 | * |
||
| 57 | * @return $this |
||
| 58 | */ |
||
| 59 | public function setTitle(string $title) |
||
| 65 | |||
| 66 | /** |
||
| 67 | * Set the value of the field. |
||
| 68 | * |
||
| 69 | * @param string $value |
||
| 70 | * |
||
| 71 | * @return $this |
||
| 72 | */ |
||
| 73 | public function setValue(string $value) |
||
| 79 | |||
| 80 | public function displaySideBySide() |
||
| 86 | |||
| 87 | public function doNotDisplaySideBySide() |
||
| 93 | |||
| 94 | /** |
||
| 95 | * Get the array representation of this attachment field. |
||
| 96 | * |
||
| 97 | * @return array |
||
| 98 | */ |
||
| 99 | public function toArray(): array |
||
| 107 | } |
||
| 108 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.