@@ -655,6 +655,7 @@ abstract class ReallyReallyReallyLongClassName extends AbstractModelFactoryResou
655655 public $test ;
656656 public $other = 1 ;
657657 public static $staticTest = [' hi' ];
658+ public readonly int $readonlytype ;
658659 static $cache ;
659660 protected static $_instance ;
660661 protected $fillable = [' title' , ' requester_id' , ' type' , ' summary' , ' proof' ];
@@ -672,7 +673,7 @@ abstract class ReallyReallyReallyLongClassName extends AbstractModelFactoryResou
672673 *
673674 * @return \\Some\\Test
674675 */
675- public function __construct($test , $test_int = null , $test_string = ' hi' ) {
676+ public function __construct($test , $test_int = null , $test_string = ' hi' , readonly int $test_readonly , public readonly string $test_promoted_readonly ) {
676677 parent ::__construct ($test_int ?: 1 );
677678 $this - > other = $test_string ;
678679 $this - > current_version = $current_version ?: new Content_Version_Model ();
@@ -965,6 +966,7 @@ abstract class ReallyReallyReallyLongClassName
965966 public $test ;
966967 public $other = 1 ;
967968 public static $staticTest = [" hi" ];
969+ public readonly int $readonlytype ;
968970 static $cache ;
969971 protected static $_instance ;
970972 protected $fillable = [" title" , " requester_id" , " type" , " summary" , " proof" ];
@@ -989,8 +991,13 @@ abstract class ReallyReallyReallyLongClassName
989991 *
990992 * @return \\Some\\Test
991993 */
992- public function __construct($test , $test_int = null , $test_string = " hi" )
993- {
994+ public function __construct(
995+ $test ,
996+ $test_int = null ,
997+ $test_string = " hi" ,
998+ readonly int $test_readonly ,
999+ public readonly string $test_promoted_readonly
1000+ ) {
9941001 parent ::__construct ($test_int ?: 1 );
9951002 $this - > other = $test_string ;
9961003 $this - > current_version =
0 commit comments