Not sure the benefits of having define the $fs variable here. You're not reusing and having it in the if won't make the size of the statement go outside of the min-line of PSR2. 

Other than that, this is exactly what we were talking about.