by CiPHPerCoder · 10y ago · 0 comments
Thanks for looking through the code. I'll make the comments more meaningful on my next run through.
> Also what's happening here? This could do with a comment for more junior devs. It's impossible to Google "function with a colon on the end of it in php"
That's a PHP 7 feature called return type declarations. If it doesn't return an instance of HiddenString, PHP will throw a TypeError.
The way I worded it is implying I'm digging at you sorry. I mean the literal what does this do, I've not come across formatting things like this before
EDIT: https://github.com/paragonie/halite/compare/v3.1.1...3b95d85...