Strict Variable Types in Laravel: Practical Examples
Do you define variable types in Laravel/PHP? And, do you declare them as strict? Let’s look at practical examples of when those are useful.
Links mentioned in the video:
- Ash Allen’s PR to declare strict types:
- My tweet asking the audience:
- My course lesson: “Larastan: Catch Bugs with Static Analysis. Example 2: Missing Types“
- My video. Parameter Types in Laravel 10: Why It’s So Important
- My video. PEST: Auto-Detect env(), dd() and Other “Leftovers“
- Reddit: “Why does noone use `declare(strict_types = 1);` in Laravel project.“
- - - - -
Support the channel by checking out my products:
- My Laravel courses:
- Filament examples:
- Livewire Kit Components:
- - - - -
Other places to follow:
- My weekly Laravel newsletter:
- My personal Twitter:
2 views
46
3
2 months ago 00:07:22 28
ROBOUTE GUILLIMAN | Avenging Son | WH40K Inspired Music | Primarch Project
4 months ago 00:02:33 1
Anatoly Lyadov: Valse, Op. 9/1
5 months ago 00:17:12 1
Captcha Typing Job | Captcha Typing Job In Mobile | Captcha Typing Work | Real Captcha Typing Job
5 months ago 00:03:46 369
Make this cool diy idea!!! 😃😃
6 months ago 00:09:19 2
Strict Variable Types in Laravel: Practical Examples
8 months ago 00:01:46 1
Used 2023 Land Rover Defender S Valley Stream, Lynbrook, Rockville Center, Oceanside, Queens
9 months ago 00:08:33 1
Arvo Pärt - Spiegel im Spiegel (audio + sheet music)
10 months ago 00:31:42 12
30 Minute Glutes and Abs Workout | DRIVE - Day 5
11 months ago 00:00:48 6
18V BRUSHLESS SUB-COMPACT BARREL GRIP JIGSAW
11 months ago 00:43:32 8
40 Minute Full Body BOOTCAMP Workout | Breakthrough - Day 10 #fullbodyworkout
11 months ago 00:04:46 1
Max Cooper - Platonic - Official Video by Páraic McGloughlin
11 months ago 00:01:01 1
USE YOUR BRILLIANT MIND!! Make amazing tools!!
11 months ago 00:00:48 1
How to determine what kind of air compressor you need?
11 months ago 00:00:46 1
This is our new high-end permanent magnet variable frequency air compressor.
1 year ago 07:31:59 1
Learn Modern JavaScript Fundamentals in 7 Hours! FREE COURSE
1 year ago 00:09:13 4
Lexus RX450H (2023) - Innovative Sports SUV!
1 year ago 00:00:15 1
Brilliant heavy duty welding tool idea!!!
2 years ago 00:01:01 1
BEST DIY IDEAS FOR DIY TOOLS!!!
2 years ago 00:13:59 1
Переменные в JAVASCRIPT. Константы. Ключевые слова LET CONST VAR. Уроки JAVASCRIPT с нуля 2020