Re-add syntax highlighting to daily emails and

...ATDC lessons
This commit is contained in:
Oliver Davies 2024-02-18 01:35:59 +00:00
parent 0d9bb37503
commit 5fbf48d9ac
48 changed files with 186 additions and 165 deletions

View file

@ -14,7 +14,7 @@ If I'm passing arguments into a constructor, I can declare a visibility and it w
Here's an example of a value of a data transfer object that accepts a sort code and account number as strings:
```php
```language-php
class AccountDetails {
public function __construct(
@ -27,7 +27,7 @@ class AccountDetails {
Without promoted constructor properties, I'd need to create the properties and assign them manually, and I'd have this:
```php
```language-php
class AccountDetails {
public string $accountNumber;