f1a81ad34acbca3811fa09b82d41ace27883c577
isFilePath() checked the entire path for a dot to decide whether path() was given a file or a directory. Because the path includes the location and name, a dot in a parent segment (for example a location like /tmp/my.app) caused a directory argument to be misclassified as a file, so the requested subdirectory was not created. Inspect only the last path segment instead.
Description
My contributions to spatie/temporary-directory: 2 commits
35 KiB
0 Stars
1 Watchers
0 Forks
Languages
PHP
100%