1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 19:04:02 +00:00
Commit graph

5 commits

Author SHA1 Message Date
Márk Magyar
79f740d057
[4.x] General code cleanup (#1278)
* Declare sensitive parameters as sensitive

... just so that they don't show up in logs

* Remove unnecessary null-coalescing

* Simplify return

* Merge isset() calls

* Inline return

* Use nullsafe operator

* Simplify if-else branches

* Use direct empty string comparison instead of strlen()

* Add missing type

* Change interface as events expect a TenantWithDatabase not just a Tenant

* Narrow typehint

* Remove redundant type casts

* Fix style with php-cs-fixer

* Fix typos

* Revert unwanted if-else simplification

* fix phpstan errors

* narrow type

---------

Co-authored-by: Samuel Štancl <samuel@archte.ch>
2024-12-31 00:35:46 +01:00
489fbb9402 add prompts to tenant:tinker 2024-04-06 01:22:14 +02:00
5ef7604e17 phpstan fix 2024-04-03 19:51:07 +02:00
PHP CS Fixer
47364007aa Fix code style (php-cs-fixer) 2024-04-03 17:47:00 +00:00
6f4b9dadf1 add tenant:tinker command 2024-04-03 19:46:27 +02:00