File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ public function render()
290290 // if we have inheritable attributes on the component (attributes passed in from another attribute bag)
291291 if (isset ($ data ['inheritedAttributes ' ])) {
292292 // we merge them in right at the end
293- $ data ['attributes ' ] = $ data ['attributes ' ]->merge ($ this -> inheritedAttributes );
293+ $ data ['attributes ' ] = $ data ['attributes ' ]->merge ($ data [ ' inheritedAttributes ' ] );
294294 }
295295
296296 // now we render the view
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ class Radio extends BaseComponent
1515 */
1616 public function __construct (
1717 public string $ id ,
18- public ?string $ help = null ,
1918 public string $ label ,
2019 public string $ name ,
2120 public string $ value ,
21+ public ?string $ help = null ,
2222 ) {
2323 // constructor promotion handles the rest
2424 }
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public static function with(...$options)
2828 *
2929 * @return void
3030 */
31- public function __construct (...$ options )
31+ public final function __construct (...$ options )
3232 {
3333 $ this ->tailwind = new Tailwind ();
3434
You can’t perform that action at this time.
0 commit comments