aboutsummaryrefslogtreecommitdiffstats
path: root/oni-php/snippets/php-mode
diff options
context:
space:
mode:
authorGravatar Tom Willemse2025-03-07 10:40:59 -0800
committerGravatar Tom Willemse2025-04-07 14:20:55 -0700
commited7bd3252e2b9eb8059e172e0b4ca6afc42ca117 (patch)
treebb3df154a83659ac20bb45e546260bd3ae7c84b7 /oni-php/snippets/php-mode
parentcdf3a71d98f21b68b7b261528fc5d2a100196aaa (diff)
downloademacs-config-ed7bd3252e2b9eb8059e172e0b4ca6afc42ca117.tar.gz
emacs-config-ed7bd3252e2b9eb8059e172e0b4ca6afc42ca117.zip
Add casts snippet to PHP
Diffstat (limited to 'oni-php/snippets/php-mode')
-rw-r--r--oni-php/snippets/php-mode/casts7
1 files changed, 7 insertions, 0 deletions
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