skip to Main Content

Laravel – Why larastan raise errors on array parameter definitions?

After I set in phpstan.neon parameter : level: 7 I got errors : 30 Method AppRulesItemModelRules::getValidationRulesArray() has parameter $skipFieldsArray with no value type specified in iterable type array. 💡 See: https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type 30 Method AppRulesItemModelRules::getValidationRulesArray() return type has no value type…

VIEW QUESTION

Jquery – How To Get Unique Value From Foreach

I Want to Send My Query Result to ApexCharts, but the results is not what i am intended this is my query $queryPengadaanNonTender = DB::table('siapel_dokumen') ->where([['id_jenis_dokumen', '=','1'],['progres','=','100']]) ->join('siapel_pengadaan', 'siapel_dokumen.id_jenis_pengadaan', '=', 'siapel_pengadaan.id') ->select( DB::raw('COUNT(DISTINCT nama_paket) AS jml'), DB::raw('jenis_pengadaan as pengadaan'), DB::raw('tahun…

VIEW QUESTION

Deploy Laravel Project to Hosting Cpanel

I have problem upload Laravel to hosting cpanel,after that i try to open "mydomain.com/mahasiswa" just Blank Page this my structure Folder this myfolder in the directory public_html this myfolder in the first directory this is my code index.php in folder…

VIEW QUESTION

Laravel – How to update a variable of the Livewire component class when window focus event happens?

MyLivewireComponent.php <?php namespace AppLivewire; use LivewireComponent; use AppModelsPerson; class MyLivewireComponent extends Component { public $persons; public function mount() { $this->persons = Person::all(); } public function render() { return view('livewire.my-livewire-component'); } } ?> When the browser's window got focused (focus event),…

VIEW QUESTION
Back To Top
Search