@Schrank@phpc.social avatar

Schrank

@Schrank@phpc.social

#shopware #magento #weuc #mageuc #scuc #mageone #winkelwagen #php #safefive he/him tfr
He|him, try to be vegan, still learning about LGBTQI+, racial, etc. inequality,

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Schrank, to php
@Schrank@phpc.social avatar

I have a cli script which looks like this:
->run($argv[1], $argv[2]);

the 2nd parameter is optional and has a default value. Is there a way to not pass $argv[2] if it is not present to not run into

run(): Argument #2 ($path) must be of type string, null given

Or do I need to test this and have two different calls?

preinheimer, to random
@preinheimer@phpc.social avatar

The Brits aren’t okay.

Schrank,
@Schrank@phpc.social avatar

@sarah at least in germany there are different flavors. Although basically they are all mayo 😅 @preinheimer

Schrank, to random
@Schrank@phpc.social avatar

You want to have more control over your association in Shopware? Use getAssociation and change the behaviour completely with the criteria of the association!

https://winkelwagen.de/2024/06/04/addassociation-vs-getassociation/

Schrank, to random German
@Schrank@phpc.social avatar

Videocast Idee: Maus(und Elefant) Dokus (weil relativ kurz) nehmen und korrekt, aber witziger nachvertonen

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • InstantRegret
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • ethstaker
  • Leos
  • cisconetworking
  • modclub
  • GTA5RPClips
  • cubers
  • everett
  • provamag3
  • anitta
  • normalnudes
  • tester
  • lostlight
  • All magazines