Closed 1cbyc closed 1 year ago
I simplified the 'configureRequests()' method by removing the if statement. I also added a null coalescing operator (??) to avoid unnecessary if statements. I also felt adding type hints to the method arguments and return types are cute to read.
Hi @1cbyc, thanks for your time on it, but I prefer the current code.
I simplified the 'configureRequests()' method by removing the if statement. I also added a null coalescing operator (??) to avoid unnecessary if statements. I also felt adding type hints to the method arguments and return types are cute to read.