diff --git a/src/Forms/Form.php b/src/Forms/Form.php index c85e46825..84d6574a4 100644 --- a/src/Forms/Form.php +++ b/src/Forms/Form.php @@ -563,12 +563,16 @@ class Form extends ViewableData implements HasRequestHandler return $this; } + /** * Convert this form into a readonly form + * + * @return $this */ public function makeReadonly() { $this->transform(new ReadonlyTransformation()); + return $this; } /**