From ed7bd3252e2b9eb8059e172e0b4ca6afc42ca117 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 7 Mar 2025 10:40:59 -0800 Subject: Add casts snippet to PHP --- oni-php/snippets/php-mode/casts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 oni-php/snippets/php-mode/casts (limited to 'oni-php/snippets/php-mode/casts') diff --git a/oni-php/snippets/php-mode/casts b/oni-php/snippets/php-mode/casts new file mode 100644 index 0000000..5a95ecf --- /dev/null +++ b/oni-php/snippets/php-mode/casts @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: casts +# key: casts +# -- +protected $casts = [ + '$1' => $2, +]; \ No newline at end of file -- cgit v1.3-2-g0d8e