Keşfet

XF options do not round-trip integer/boolean values as expected

XFdestek

Kurucu Üye
Katılım
25 May 2014
Mesajlar
4,995
Tepkime puanı
287
Konum
Türkiye
Web sitesi
fivetu.xyz
PHP:

Kod:
Lütfen içeriği görebilmek için Giriş yap yada Kayıt ol to view codes content!

Both of these will output a string type instead of the expected int type. This matters because xf-dev:generate-options-stub CLI command gives strongly typed hints, and phpstorm (and other php code formatting tools) will suggest to unwrap any casts. Except the underlying type is stringy so...

Lütfen içeriği görebilmek için Giriş yap yada Kayıt ol
 

Konu görüntüleyen kullanıcılar

Benzer konular

Geri
Üst Alt